CVE-2026-104182 json
stream-json: JSONC parser and verifier re-scan the whole accumulated comment on every input chunk
published 2026-10-01 38 d ago modified 2026-10-05 34 d ago also GHSA-hqr4-qq8f-hg3x , EUVD-2026-91056
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
stream-json is a micro-library of stream components for processing JSON and JSONC with a minimal memory footprint. Prior to 3.6.0, the JSONC parser at stream-json/jsonc/parser.js and verifier at stream-json/jsonc/verifier.js restart comment-terminator scanning from the opening slash whenever a block or line comment spans an input chunk, while retaining the accumulated comment buffer. Delivering a large valid comment across many small chunks therefore causes quadratic CPU work and can stall the Node.js event loop. The maintainer characterizes the attack vector as local because the documented JSONC input is locally owned or user-controlled configuration, rather than input intended for the open internet. This JSONC-only scope does not include the plain JSON parser, which advances through and discards consumed string and number data. This issue is fixed in version 3.6.0.
Patch / fix
- npm stream-json 3.6.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-104182 updated cvss 6.2
stream-json: stream-json: Denial of Service via inefficient comment scanning
-
Red Hat Build of Podman Desktop rh-podman-desktop 3c6fc75a2a6cf5bb9b8a667fddcbbf428132badcaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 34 d ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/uhop/stream-json/security/advisories/GHSA-hqr4-qq8f-hg3x referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | stream-json | <3.6.0 |
3.6.0 |
Affected products
- uhop stream-json
Classification
- Weakness
-
- CWE-407 Inefficient Algorithmic Complexity
References
-
github.com
/uhop/stream-json/commit/c0299dc168ce9455ef5ca5b6a0f6850ee7fa0468
web
-
github.com
/uhop/stream-json/security/advisories/GHSA-hqr4-qq8f-hg3x
exploit, web
-
github.com
/uhop/stream-json/releases/tag/3.6.0
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-104182
advisory
-
github.com
/uhop/stream-json
package
Sources
- CVE List CVE-2026-104182
- GitHub Advisory GHSA-hqr4-qq8f-hg3x
- NVD CVE-2026-104182
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.