CVE-2023-4578

published 11 Sep 2023 · updated 18 Dec 2025

Error reporting methods in SpiderMonkey could have triggered an Out of Memory Exception

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Firefox 115.2, Firefox 117 and Thunderbird 115.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MozillaFirefox<115.2, <117115.2, 117
MozillaThunderbird<115.2115.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Firefox, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-4578 severity on Zeptric[![CVE-2023-4578](https://zeptric.io/badge/cve/CVE-2023-4578.svg)](https://zeptric.io/cve/CVE-2023-4578)