CVE-2023-4578
Error reporting methods in SpiderMonkey could have triggered an Out of Memory Exception
Mitigation
- Upgrade Firefox to 117 or later.
- Upgrade Firefox ESR to 115.2 or later.
- Upgrade Thunderbird to 115.2 or later.
Who should check
- Anyone running Mozilla Firefox >= unspecified, < 117
- Anyone running Mozilla Firefox ESR >= unspecified, < 115.2
- Anyone running Mozilla Thunderbird >= unspecified, < 115.2
Vulnerability facts
- Affected
- Mozilla Firefox >= unspecified, < 117; Mozilla Firefox ESR >= unspecified, < 115.2; Mozilla Thunderbird >= unspecified, < 115.2
- Fixed in
- Mozilla Firefox 117, Mozilla Firefox ESR 115.2, Mozilla Thunderbird 115.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.75% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-770
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-4578. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-4578.md Affected: Mozilla Firefox >= unspecified, < 117; Mozilla Firefox ESR >= unspecified, < 115.2; Mozilla Thunderbird >= unspecified, < 115.2 Fixed in: Mozilla Firefox 117, Mozilla Firefox ESR 115.2, Mozilla Thunderbird 115.2 Steps: 1. Search this machine and project for Mozilla Firefox, Mozilla Firefox ESR, Mozilla Thunderbird: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-4578 being exploited?
There is no confirmed exploitation: CVE-2023-4578 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-4578?
Medium: CVSS 6.5 (v3.1, scored by NVD). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-4578?
Mozilla Firefox >= unspecified, < 117; Mozilla Firefox ESR >= unspecified, < 115.2; Mozilla Thunderbird >= unspecified, < 115.2.
Is there a fix for CVE-2023-4578?
Yes. Fixed in Mozilla Firefox 117, Mozilla Firefox ESR 115.2, Mozilla Thunderbird 115.2. Upgrade Firefox to 117 or later. Upgrade Firefox ESR to 115.2 or later. Upgrade Thunderbird to 115.2 or later.
How do I check if I'm affected by CVE-2023-4578?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.