{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-71429","id":"CVE-2026-71429","title":"stream-json: pick/ignore/filter/replace filters are O(depth²) on nested input — small crafted JSON blocks the event loop for seconds→minutes (DoS)","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 le","descriptionLong":"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.","published":"2026-09-03T20:15:19.721Z","updated":"2026-10-28T02:30:38.492051859Z","reserved":"2026-08-06T16:28:51.182Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["uhop stream-json"],"affectedProducts":[{"vendor":"uhop","product":"stream-json","defaultStatus":null,"versions":[{"version":"< 3.5.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"stream-json","purl":"pkg:npm/stream-json","ranges":["<3.5.0"],"fixed":["3.5.0"],"advisory":"GHSA-528h-pc64-c93x"}],"cwes":["CWE-407"],"aliases":["GHSA-528h-pc64-c93x"],"references":[{"url":"https://github.com/uhop/stream-json/security/advisories/GHSA-528h-pc64-c93x","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/uhop/stream-json/commit/a869fb98aaef9225556f49901a8f55954ff856e6","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71429.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71429","tags":["advisory"]},{"url":"https://github.com/uhop/stream-json","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0016,"epssPercentile":0.05303,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-71429","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71429","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-71429","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-528h-pc64-c93x","ok":true,"note":"GHSA-528h-pc64-c93x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-71429","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}