# CVE-2026-71429: stream-json: pick/ignore/filter/replace filters are O(depth²) on nested input — small crafted JSON blocks the event loop for seconds→minutes (DoS)

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/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.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-03T20:15:19.721Z
- Modified: 2026-09-10T03:51:15.101Z
- Also known as: GHSA-528h-pc64-c93x
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

stream-json is a micro-library of stream components for processing JSON and JSONC with a minimal memory footprint. Prior to 3.5.0, the path filters pick, ignore, filter, and replace in src/core/filters/filter-base.js recompute the full path string from the nesting stack for every checkable token. Because the stack length equals the current nesting depth and a checkable token is emitted at every level, a depth D document costs O(D²) rather than O(D) to process. The issue is triggered by nesting depth rather than byte volume, including the documented pick({filter: 'data'}) traversal-until-match path, so an application that sends untrusted JSON through a string or RegExp filter can block the Node.js event loop and cause denial of service with a small deeply nested document. The streamArray, streamObject, and streamValues streamers are not affected because they use the constant-time asm.depth getter. This issue is fixed in version 3.5.0.

(As written by CVE List.)

## Affected

- uhop stream-json: < 3.5.0
- stream-json (npm): before 3.5.0

## Every score

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

## References

- <https://github.com/uhop/stream-json/security/advisories/GHSA-528h-pc64-c93x> (exploit, web)
- <https://github.com/uhop/stream-json/commit/a869fb98aaef9225556f49901a8f55954ff856e6> (web)
- <https://github.com/uhop/stream-json> (package)

## Sources

- CVE List: [CVE-2026-71429](https://www.cve.org/CVERecord?id=CVE-2026-71429), CVE Terms of Use, modified 2026-09-04
- GitHub Advisory Database: [GHSA-528h-pc64-c93x](https://github.com/advisories/GHSA-528h-pc64-c93x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-71429](https://nvd.nist.gov/vuln/detail/CVE-2026-71429), Public domain, modified 2026-09-09

---

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