CVE-2026-34043
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.
How to fix
- yahoo serialize7.0.5 or later
- serialize-javascript7.0.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yahoo serialize | v < 7.0.5 | 7.0.5 |
| serialize-javascriptnpm | 5.0.0 ≤ v < 7.0.5 | 7.0.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.