Skip to main content
← All vulnerabilities
CVE-2023-4578

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 117, 115.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Mozilla Firefox

    fixed in 117

  • Mozilla Firefox ESR

    fixed in 115.2

  • Mozilla Thunderbird

    fixed in 115.2

References 4

bugzilla.mozilla.org

mozilla.org