CVE-2023-4578

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

Published Sep 11, 2023 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-54432 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.
Ubuntu USN Ubuntu USN USN-6320-1 Firefox vulnerabilities
Ubuntu USN Ubuntu USN USN-6405-1 Thunderbird vulnerabilities
History
Type Values Removed Values Added
Title Mozilla: Error reporting methods in SpiderMonkey could have triggered an Out of Memory Exception Error reporting methods in SpiderMonkey could have triggered an Out of Memory Exception
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mozilla
Published
Updated
Dec 18, 2025, 3:23 PM
Reserved
Aug 29, 2023, 3:36 AM
Status
Modified
Published
Sep 11, 2023, 9:15 AM
Modified
Jun 17, 2026, 6:38 AM
Severity
Moderate
Public date
Aug 29, 2023, 12:00 AM