Skip to main content
VulnerabilityPublished

CVE-2026-34043: yahoo serialize-javascript · Uncontrolled Resource Consumption

Affects yahoo serialize-javascriptSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.9 Medium : upgrade to 7.0.5 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 7.0.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade yahoo serialize-javascript to 7.0.5.

Affected software

ProductAffectedFixed in
yahooserialize-javascriptAffected
  • <7.0.5
Fixed in
  • 7.0.5
npmserialize-javascriptpkg:npm/serialize-javascriptOther threatsAffected
  • <7.0.5
Fixed in
  • 7.0.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate this vulnerability, organizations should upgrade serialize-javascript to version 7.0.5 or later, where the issue is patched. For environments where immediate upgrade is not feasible, implement input validation and sanitization to detect and reject suspiciously large or malformed array-like objects before serialization. Employ runtime monitoring to detect abnormal CPU usage patterns indicative of exploitation attempts. Rate limiting and resource quotas can help limit the impact of potential DoS attacks. Additionally, isolate serialization processes in sandboxed environments or separate containers to prevent system-wide resource exhaustion. Regularly audit dependencies for vulnerabilities and maintain an up-to-date inventory to ensure timely patching. Finally, educate developers about safe serialization practices and the risks of processing untrusted input.

Description

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.

References

Community reviews

Loading reviews…