# CVE-2026-34043: Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-03-27T18:18:54.000Z
- Modified: 2026-09-10T03:50:40.557Z
- Also known as: GHSA-qj8w-gfj5-8c6v
- Weaknesses: CWE-400, CWE-834
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- yahoo serialize-javascript: < 7.0.5
- serialize-javascript (npm): from 5.0.0 before 7.0.5
- yahoo serialize: before 7.0.5

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/yahoo/serialize-javascript/security/advisories/GHSA-qj8w-gfj5-8c6v> (vendor-advisory, web)
- <https://github.com/yahoo/serialize-javascript/commit/f147e90269b58bb6e539cfdf3d0e20d6ad14204b> (patch, web)
- <https://github.com/yahoo/serialize-javascript/releases/tag/v7.0.5> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34043> (advisory)
- <https://github.com/yahoo/serialize-javascript> (package)
- <https://github.com/yahoo/serialize-javascript/releases/tag/v5.0.0> (web)

## Sources

- CVE List: [CVE-2026-34043](https://www.cve.org/CVERecord?id=CVE-2026-34043), CVE Terms of Use, modified 2026-03-31
- GitHub Advisory Database: [GHSA-qj8w-gfj5-8c6v](https://github.com/advisories/GHSA-qj8w-gfj5-8c6v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-34043](https://nvd.nist.gov/vuln/detail/CVE-2026-34043), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-34043 · Whole record: https://cve.day/CVE-2026-34043.json · Rebuilt by cve.day 2026-11-25T22:59:17.555Z
