{"id":"CVE-2026-34043","published":"2026-03-31T01:48:45Z","modified":"2026-03-31T13:55:54Z","title":"Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects","vendor":"yahoo","product":"serialize-javascript","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00502,"percentile":0.43848,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-834","name":"Excessive Iteration"}],"references":[{"url":"https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-qj8w-gfj5-8c6v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/yahoo/serialize-javascript/commit/f147e90269b58bb6e539cfdf3d0e20d6ad14204b","tags":["x_refsource_MISC"]},{"url":"https://github.com/yahoo/serialize-javascript/releases/tag/v7.0.5","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.77},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"yahoo","affectedVersions":[{"vendor":"yahoo","product":"serialize-javascript","versions":["< 7.0.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-31T13:55:44.694969Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"serialize-javascript","vulnerableRanges":[">=5.0.0, <7.0.5"],"patched":["7.0.5"],"from":["GHSA-qj8w-gfj5-8c6v"],"provenance":"source"}],"summary":{"text":"The serialize-javascript library (yahoo) contains a CPU exhaustion denial-of-service flaw in its handling of array-like objects: when serializing an object that inherits from Array.prototype but declares a very large length property, the process enters an intensive loop that pins the CPU and hangs indefinitely. An attacker with network access and no authentication or user interaction can trigger this by supplying the crafted object for serialization, though the attack is considered high complexity, and it only affects availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:04Z"},"euvd":{"id":"EUVD-2026-17288","exploited":false,"provenance":"source"}}