# CVE-2025-1942: Disclosure of uninitialized memory when .toUpperCase() causes string to get longer

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-03-04T13:31:25.504Z
- Modified: 2026-10-05T15:10:00.590Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mozilla

## 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.

(As written by CVE List.)

## Affected

- Mozilla Firefox: before 136.0 (not affected: from 136 up to *)
- Mozilla Thunderbird: before 136.0 (not affected: from 136 up to *)

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1947139> (issue-tracking)
- <https://www.mozilla.org/security/advisories/mfsa2025-14/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2025-17/> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-1942](https://www.cve.org/CVERecord?id=CVE-2025-1942), CVE Terms of Use, modified 2026-06-04
- NVD: [CVE-2025-1942](https://nvd.nist.gov/vuln/detail/CVE-2025-1942), Public domain, modified 2026-10-05

---

Page: https://cve.day/CVE-2025-1942 · Whole record: https://cve.day/CVE-2025-1942.json · Rebuilt by cve.day 2026-11-25T22:58:54.960Z
