CVE-2026-34043 Details
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.
A denial-of-service vulnerability has been identified in Yahoo's serialize-javascript package, prior to version 7.0.5. This vulnerability is caused by CPU exhaustion when serializing specially crafted "array-like" objects that inherit from Array.prototype and possess a large length property. The serialization process enters a loop that consumes 100% CPU, causing the application to hang indefinitely. The issue can be exploited in applications that use serialize-javascript to serialize untrusted or user-controlled objects, particularly if the application is also vulnerable to Prototype Pollution or handles untrusted data through YAML Deserialization, as these could be used to inject the malicious object.
Users are advised to upgrade to version 7.0.5 or later. If an immediate upgrade is not possible, validate and sanitize all input before serialization, and ensure the environment is protected against Prototype Pollution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-834 | Excessive Iteration | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yahoo serialize | < 7.0.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 3, 2026 | Initial Analysis | [email protected] |
| Mar 31, 2026 | New CVE Received | [email protected] |