Live threats

All CVEs / uhop

CVE-2026-104182uhop stream-json

Medium 6.2

Priority
37
CVSS 3.1
6.2
EPSS
—
Auth required
Yes
Published
Oct 1, 2026
Updated
Oct 5, 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. 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for stream-json.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm stream-json < 3.6.0 3.6.0 npm install stream-json@3.6.0

Per OSV / GitHub Advisories (GHSA-hqr4-qq8f-hg3x). Check the version in your lockfile before upgrading.

Affected products

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.