
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-34481 is a security vulnerability discovered in Mozilla Firefox and Thunderbird's nsTArray_Impl::ReplaceElementsAt() function. The vulnerability was disclosed on June 28, 2022, and affects Firefox versions < 102, Firefox ESR < 91.11, Thunderbird < 102, and Thunderbird < 91.11. This moderate severity issue involves an integer overflow condition that could occur when the number of elements to replace was too large for the container (Mozilla Advisory, CVE Mitre).
The vulnerability exists in the nsTArrayImpl::ReplaceElementsAt() function where an integer overflow could occur during array element replacement operations. The issue specifically relates to insufficient validation of the 'aCount' parameter, which could lead to an underflow condition when calculating Length() + aArrayLen - aCount. This calculation is used for memory allocation in the array manipulation process ([Mozilla Bugzilla](https://bugzilla.mozilla.org/showbug.cgi?id=1497246)).
While classified as a moderate severity issue, the vulnerability could potentially lead to memory corruption if successfully exploited. The impact is somewhat mitigated in Thunderbird as scripting is disabled by default when reading mail, though the risk remains in browser or browser-like contexts (Mozilla Advisory).
The vulnerability was patched in Firefox 102, Firefox ESR 91.11, Thunderbird 102, and Thunderbird 91.11. Users should upgrade to these versions or later to receive the security fix. The patch implements additional validation checks to prevent the integer overflow condition (Mozilla Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."