{"schemaVersion":4,"id":"CVE-2025-1942","aliases":["UBUNTU-CVE-2025-1942","CGA-cr48-prrx-j6m5","CGA-p5f6-458j-q6w8","CGA-jhvx-454m-9w5f","CGA-pq5h-7f48-xh66"],"status":"published","duplicateOf":null,"title":"Disclosure of uninitialized memory when .toUpperCase() causes string to get longer","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.","dates":{"published":"2025-03-04T13:31:25.504Z","modified":"2026-06-04T16:42:43.588Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00483,"percentile":0.43258,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.0040000000000000105,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00479},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00469,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00483,"percentile":0.43258}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00856,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00483,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00483,"percentile":0.43258}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-908","name":"Use of Uninitialized Resource","description":"The product uses or accesses a resource that has not been initialized.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/908.html"}],"affected":[{"vendor":"chainguard","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/firefox","purlType":"apk","versions":[{"text":"< 136-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"136-r0","endInclusive":false}}],"versionsText":"< 136-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"firefox-esr","name":"firefox-esr","label":"firefox-esr","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/firefox-esr","purlType":"apk","versions":[{"text":"< 136-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"136-r0","endInclusive":false}}],"versionsText":"< 136-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/firefox","purlType":"apk","versions":[{"text":"< 136-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"136-r0","endInclusive":false}}],"versionsText":"< 136-r0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firefox","purlType":"deb","versions":[{"text":"< 136.0+build3-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"136.0+build3-0ubuntu0.20.04.1","endInclusive":false}}],"versionsText":"< 136.0+build3-0ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs102","name":"mozjs102","label":"mozjs102","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs102","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs115","name":"mozjs115","label":"mozjs115","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs115","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs38","name":"mozjs38","label":"mozjs38","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs38","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs52","name":"mozjs52","label":"mozjs52","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs52","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs68","name":"mozjs68","label":"mozjs68","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs68","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs78","name":"mozjs78","label":"mozjs78","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs78","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs91","name":"mozjs91","label":"mozjs91","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs91","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/thunderbird","purlType":"deb","versions":[{"text":"< 1:140.7.1+build1-0ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:140.7.1+build1-0ubuntu0.22.04.1","endInclusive":false}}],"versionsText":"< 1:140.7.1+build1-0ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"mozilla","product":"firefox","name":"Firefox","label":"firefox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 136.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"136.0","endInclusive":false}}],"versionsText":"< 136.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"firefox","label":"Firefox","category":"app"}},"hubHref":"/vendor/mozilla/firefox"},{"vendor":"mozilla","product":"thunderbird","name":"Thunderbird","label":"thunderbird","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 136.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"136.0","endInclusive":false}}],"versionsText":"< 136.0","eol":null,"hubHref":"/vendor/mozilla/thunderbird"}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1947139","label":"bugzilla.mozilla.org/show_bug.cgi?id=1947139","hostname":"bugzilla.mozilla.org","tags":["REPORT","Issue Tracking"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2025-14/","label":"www.mozilla.org/security/advisories/mfsa2025-14/","hostname":"www.mozilla.org","tags":["REPORT","Vendor Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2025-17/","label":"www.mozilla.org/security/advisories/mfsa2025-17/","hostname":"www.mozilla.org","tags":["REPORT","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-1942","label":"ubuntu.com/security/CVE-2025-1942","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-1942","label":"www.cve.org/CVERecord?id=CVE-2025-1942","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2025-14/#CVE-2025-1942","label":"www.mozilla.org/en-US/security/advisories/mfsa2025-14/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7334-1","label":"ubuntu.com/security/notices/USN-7334-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7991-1","label":"ubuntu.com/security/notices/USN-7991-1","hostname":"ubuntu.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:14861-1","OPENSUSE-SU-2026:11373-1","USN-7334-1","USN-7991-1"],"duplicates":[],"related":["CGA-RC5F-VPX2-3VXM","OPENSUSE-SU-2025:14861-1","OPENSUSE-SU-2026:11373-1","USN-7334-1","USN-7991-1"]},"timeline":[{"kind":"published","date":"2025-03-04T13:31:25.504Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-04T16:42:43.588Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,0,98],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00483,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-06-04T16:42:43.588Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-06-04T16:42:43.588Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-06-04T16:42:43.588Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-03-25T14:08:58.588Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00483,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T05:02:50.511Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T05:02:51.052Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T05:02:51.313Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T05:00:54.010Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T05:02:48.843Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T05:02:47.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:06:58.389Z","stale":false,"partial":false}}