CVE-2026-34043

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

Published Mar 31, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-qj8w-gfj5-8c6v Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects
History
Type Values Removed Values Added
First Time appeared Yahoo serialize
CPEs cpe:2.3:a:yahoo:serialize:*:*:*:*:*:*:*:*
Vendors & Products Yahoo serialize
Type Values Removed Values Added
First Time appeared Yahoo
Yahoo serialize-javascript
Vendors & Products Yahoo
Yahoo serialize-javascript
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects
Weaknesses CWE-400
CWE-834
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 31, 2026, 1:55 PM
Reserved
Mar 25, 2026, 3:29 PM
Status
Analyzed
Published
Mar 31, 2026, 3:15 AM
Modified
Jun 17, 2026, 10:38 AM
Severity
Moderate
Public date
Mar 31, 2026, 1:48 AM