{"id":"CVE-2026-71429","published":"2026-09-03T20:15:19Z","modified":"2026-09-04T17:44:46Z","title":"stream-json: pick/ignore/filter/replace filters are O(depth²) on nested input — small crafted JSON blocks the event…","vendor":"uhop","product":"stream-json","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0016,"percentile":0.05322,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/uhop/stream-json/security/advisories/GHSA-528h-pc64-c93x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/uhop/stream-json/commit/a869fb98aaef9225556f49901a8f55954ff856e6","tags":["x_refsource_MISC"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":1.06},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"uhop","affectedVersions":[{"vendor":"uhop","product":"stream-json","versions":["< 3.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-04T17:44:29.195835Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"stream-json","vulnerableRanges":["<3.5.0"],"patched":["3.5.0"],"from":["GHSA-528h-pc64-c93x"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-70733","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-uhop-stream-json-cve-2026-71429","children":[{"from":"CVE-2026-71429","to":"CVE-2026-114129","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/core/filters/filter-base.js"],"commits":["https://github.com/uhop/stream-json/commit/1929fd80495d45b47e8f8cb1d4e132f915aef012","https://github.com/uhop/stream-json/commit/c06c9a3c02adef89543e26ecebb45837cb284512","https://github.com/uhop/stream-json/commit/a869fb98aaef9225556f49901a8f55954ff856e6"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.37,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-71429","published":"2026-09-03","fixed":"3.5.0","kev":false},{"cve":"CVE-2026-104182","published":"2026-10-01","fixed":"3.6.0","kev":false,"link":{"from":"CVE-2026-71429","to":"CVE-2026-104182","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:stream-json","fromFixed":"3.5.0","toFixed":"3.6.0","daysApart":28},{"kind":"similar","provenance":"machine","score":0.28,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-104183","published":"2026-10-01","fixed":"3.6.0","kev":false,"link":{"from":"CVE-2026-71429","to":"CVE-2026-104183","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:stream-json","fromFixed":"3.5.0","toFixed":"3.6.0","daysApart":28}]}},{"cve":"CVE-2026-114129","published":"2026-10-21","fixed":"3.7.0","kev":false}],"package":"npm:stream-json"}}