Skip to main content
← All vulnerabilities
CVE-2026-34043GHSA-QJ8W-GFJ5-8C6V

Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects

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

Summary

Serialize JavaScript to a superset of JSON that includes regular expressions and functions. Prior to version 7.0.5, there is a Denial of Service (DoS) vulnerability caused by CPU exhaustion. When serializing a specially crafted "array-like" object (an object that inherits from Array.prototype but has a very large length property), the process enters an intensive loop that consumes 100% CPU and hangs indefinitely. This issue has been patched in version 7.0.5.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • yahoo serialize-javascript

    fixed in 7.0.5

  • serialize-javascriptnpm

    From 5.0.0 · fixed in 7.0.5

References 3

GitHub · yahoo/serialize-javascript