CVE-2022-34481
Mozilla: Potential integer overflow in ReplaceElementsAt
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 28, 2022
Updated · November 21, 2025
Description
The Mozilla Foundation Security Advisory describes this flaw as:
In the nsTArray_Impl::ReplaceElementsAt() function, where an integer overflow could occur when the number of elements to replace was too large for the container.
Statement
Red Hat Product Security rates the severity of this flaw as determined by the Mozilla Foundation Security Advisory.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-190 · Integer Overflow or Wraparound