{"id":"CVE-2023-4578","state":"PUBLISHED","title":"Error reporting methods in SpiderMonkey could have triggered an Out of Memory Exception","description":"When calling `JS::CheckRegExpSyntax` a Syntax Error could have been set which would end in calling `convertToRuntimeErrorAndClear`. A path in the function could attempt to allocate memory when none is available which would have caused a newly created Out of Memory exception to be mishandled as a Syntax Error. This vulnerability affects Firefox < 117, Firefox ESR < 115.2, and Thunderbird < 115.2.","publishedAt":"2023-09-11T08:01:17.333Z","updatedAt":"2025-12-18T15:23:11.916Z","severity":null,"assigner":"mozilla","products":["Mozilla Firefox","Mozilla Firefox ESR","Mozilla Thunderbird"],"affected":[{"vendor":"Mozilla","product":"Firefox","versions":[{"version":"unspecified","status":"affected","lessThan":"117","versionType":"custom"}]},{"vendor":"Mozilla","product":"Firefox ESR","versions":[{"version":"unspecified","status":"affected","lessThan":"115.2","versionType":"custom"}]},{"vendor":"Mozilla","product":"Thunderbird","versions":[{"version":"unspecified","status":"affected","lessThan":"115.2","versionType":"custom"}]}],"references":["https://bugzilla.mozilla.org/show_bug.cgi?id=1839007","https://www.mozilla.org/security/advisories/mfsa2023-34/","https://www.mozilla.org/security/advisories/mfsa2023-36/","https://www.mozilla.org/security/advisories/mfsa2023-38/"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/4xxx/CVE-2023-4578.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-4578","state":"PUBLISHED","datePublished":"2023-09-11T08:01:17.333Z","dateUpdated":"2025-12-18T15:23:11.916Z","assignerShortName":"mozilla","assignerOrgId":"f16b083a-5664-49f3-a51e-8d479e5ed7fe","dateReserved":"2023-08-29T03:36:49.709Z"},"containers":{"cna":{"title":"Error reporting methods in SpiderMonkey could have triggered an Out of Memory Exception","descriptions":[{"lang":"en","value":"When calling `JS::CheckRegExpSyntax` a Syntax Error could have been set which would end in calling `convertToRuntimeErrorAndClear`. A path in the function could attempt to allocate memory when none is available which would have caused a newly created Out of Memory exception to be mishandled as a Syntax Error. This vulnerability affects Firefox < 117, Firefox ESR < 115.2, and Thunderbird < 115.2."}],"affected":[{"vendor":"Mozilla","product":"Firefox","versions":[{"version":"unspecified","status":"affected","lessThan":"117","versionType":"custom"}]},{"vendor":"Mozilla","product":"Firefox ESR","versions":[{"version":"unspecified","status":"affected","lessThan":"115.2","versionType":"custom"}]},{"vendor":"Mozilla","product":"Thunderbird","versions":[{"version":"unspecified","status":"affected","lessThan":"115.2","versionType":"custom"}]}],"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1839007"},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-34/"},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-36/"},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-38/"}],"providerMetadata":{"shortName":"mozilla","orgId":"f16b083a-5664-49f3-a51e-8d479e5ed7fe","dateUpdated":"2025-12-18T15:23:11.916Z"},"credits":[{"lang":"en","value":"Irvan Kurniawan (@sourc7)"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1839007","tags":["x_transferred"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-34/","tags":["x_transferred"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-36/","tags":["x_transferred"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-38/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T07:31:06.622Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-19T20:02:09.736434Z","id":"CVE-2023-4578","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-19T20:02:19.081Z"}}]}}}