CVE-2025-1942

Disclosure of uninitialized memory when .toUpperCase() causes string to get longer

State
Published
Severity
9.8 Critical
Published
Mar 4, 2025
Updated
Jun 4, 2026
Reserved
Mar 4, 2025

Read the record on cve.org

Description

When String.toUpperCase() caused a string to get longer it was possible for uninitialized memory to be incorporated into the result string. This vulnerability was fixed in Firefox 136 and Thunderbird 136.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-908 Use of Uninitialized Resource

Affected Products

ProductVersions
FirefoxMozilla
  • 136 and laterNot affected
ThunderbirdMozilla
  • 136 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.