CVE-2026-71429 Details
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.
A denial-of-service vulnerability has been identified in stream-json versions prior to 3.5.0. The issue arises in the path filters 'pick', 'ignore', 'filter', and 'replace', which recompute the full path string from the nesting stack for every checkable token. This process creates a quadratic processing cost relative to the document's nesting depth. As a result, an application that processes untrusted JSON with these filters can block the Node.js event loop, causing service degradation. The vulnerability is triggered by small, deeply nested documents that exploit the path filter mechanism.
Users can upgrade to stream-json version 3.5.0 or later, where this vulnerability is fixed. The path filters in the updated version now enforce a maximum JSON nesting depth of 1024 by default and throw a RangeError if exceeded. For applications that require it, this limit can be disabled by setting 'maxDepth' to Infinity.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 3, 2026CISA-ADP
Assessed Sep 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/uhop/stream-json/security/advisories/GHSA-528h-pc64-c93x | CISA-ADP | AdvisoryRemedyVendor |
| https://github.com/uhop/stream-json/commit/a869fb98aaef9225556f49901a8f55954ff856e6 | [email protected] | Source CodeVendor |
| https://github.com/uhop/stream-json/security/advisories/GHSA-528h-pc64-c93x | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| uhop/stream-json | <= 3.4.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2026 | New CVE Received | [email protected] |
Volerion