CVE-2026-114129uhop stream-json
Medium 6.2
Follow: this CVE · uhop · uhop stream-json We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 6.2
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 21, 2026
- Updated
- Oct 28, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-407
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for stream-json.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | stream-json |
≥ 2.0.0 < 3.7.0 |
3.7.0 |
npm install stream-json@3.7.0 |
Per OSV / GitHub Advisories (GHSA-jj87-hc4r-jwfw). Check the version in your lockfile before upgrading.
Affected products
- uhop · stream-json
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.