CVE-2026-34043CWE-400CWE-834

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

Medium · published March 31, 2026

CVSS v3.1
5.9
EPSS
1%
Percentile
47.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00581 · 47.0th percentile
Weaknesses
CWE-400 · Uncontrolled Resource Consumption; CWE-834 · Excessive Iteration
Published
2026-03-31T01:48Z
EPSS history
Timeline
  • 31 MAR 01:48Z
    Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects
    cvelistv5