CVE-2026-34043
MEDIUMSerialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects
Title source: cnaDescription
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 (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-qj8w-gfj5-8c6v
X_Refsource_Misc x_refsource_misc
https://github.com/yahoo/serialize-javascript/commit/f147e90269b58bb6e539cfdf3d0e20d6ad14204b
X_Refsource_Misc x_refsource_misc
https://github.com/yahoo/serialize-javascript/releases/tag/v7.0.5
Scores
CVSS v3
5.9
EPSS
0.0002
EPSS Percentile
5.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-400
CWE-834
Status
published
Products (3)
npm/serialize-javascript
0 - 7.0.5npm
yahoo/serialize
< 7.0.5
yahoo/serialize-javascript
< 7.0.5
Published
Mar 31, 2026
Tracked Since
Mar 31, 2026