{"id":"CVE-2026-114129","published":"2026-10-21T17:34:48Z","modified":"2026-10-28T17:16:23Z","title":"stream-json: FlexAssembler string/RegExp path filters join the full key stack per container start, giving O(depth^2)…","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. From 2.0.0 until 3.7.0, FlexAssembler compiles string and regular-expression path filters into matchers that join the full key stack on every container start. Because the key stack grows with unbounded object or array nesting, a document nested to depth D causes D joins whose cost grows with the current depth, resulting in quadratic CPU consumption on the single-threaded event loop. The join occurs before the rule match decision, so the attacker does not need to know the target schema. Consumers using only function filters or no rules are not affected. A crafted nested document can stall all concurrent work in a process that feeds it to an affected FlexAssembler. This issue is fixed in 3.7.0, which adds a default maximum depth.","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.00186,"percentile":0.0476,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/uhop/stream-json/security/advisories/GHSA-jj87-hc4r-jwfw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/uhop/stream-json/commit/1929fd80495d45b47e8f8cb1d4e132f915aef012","tags":["x_refsource_MISC"]},{"url":"https://github.com/uhop/stream-json/commit/c06c9a3c02adef89543e26ecebb45837cb284512","tags":["x_refsource_MISC"]},{"url":"https://github.com/uhop/stream-json/releases/tag/3.7.0","tags":["x_refsource_MISC"]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":0.95},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"uhop","affectedVersions":[{"vendor":"uhop","product":"stream-json","versions":[">= 2.0.0, < 3.7.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-28T17:15:56.058164Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"stream-json","vulnerableRanges":[">=2.0.0, <3.7.0"],"patched":["3.7.0"],"from":["GHSA-jj87-hc4r-jwfw"],"provenance":"source"}],"summary":{"text":"The flaw is in FlexAssembler of the stream-json library (uhop), in versions from 2.0.0 up to 3.7.0, where string and regular-expression path filters join the full key stack on every container start. An attacker can send a deeply nested JSON document to any process that feeds it through an affected FlexAssembler configured with string or regular-expression rules, and no knowledge of the target schema is needed, which causes quadratic CPU consumption on the single-threaded event loop and stalls all concurrent work; consumers using only function filters or no rules are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:53Z"},"euvd":{"id":"EUVD-2026-107412","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-uhop-stream-json-cve-2026-71429","parents":[{"from":"CVE-2026-104182","to":"CVE-2026-114129","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:stream-json","fromFixed":"3.6.0","toFixed":"3.7.0","daysApart":20},{"kind":"same-code","provenance":"machine","files":["wiki"],"commits":["https://github.com/uhop/stream-json/commit/c0299dc168ce9455ef5ca5b6a0f6850ee7fa0468","https://github.com/uhop/stream-json/commit/1929fd80495d45b47e8f8cb1d4e132f915aef012","https://github.com/uhop/stream-json/commit/c06c9a3c02adef89543e26ecebb45837cb284512"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.29,"basis":"same product + CWE + description similarity"}]},{"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"}]},{"from":"CVE-2026-104183","to":"CVE-2026-114129","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/core/utils/flex-assembler.d.ts","src/core/utils/flex-assembler.js","wiki"],"commits":["https://github.com/uhop/stream-json/commit/2f2d35bbb547306991ded6487a279154d865a358","https://github.com/uhop/stream-json/commit/1929fd80495d45b47e8f8cb1d4e132f915aef012","https://github.com/uhop/stream-json/commit/c06c9a3c02adef89543e26ecebb45837cb284512"],"basis":"shared function","functions":["FlexAssembler"]}]}],"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},{"cve":"CVE-2026-104183","published":"2026-10-01","fixed":"3.6.0","kev":false},{"cve":"CVE-2026-114129","published":"2026-10-21","fixed":"3.7.0","kev":false}],"package":"npm:stream-json"}}