CVE-2023-4578

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

State
Published
Severity
Not scored
Published
Sep 11, 2023
Updated
Dec 18, 2025
Reserved
Aug 29, 2023

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
FirefoxMozilla
  • before 117Affected
Firefox ESRMozilla
  • before 115.2Affected
ThunderbirdMozilla
  • before 115.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.