cve.bz

CVE-2026-104182 uhop stream-json: Inefficient Algorithmic Complexity

6.2 mediumEPSS 0.2%Fix available

Medium (6.2) in uhop stream-json. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in stream-json 3.6.0.

On this page
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.

Severity

CVSS 3.1

6.2 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-10-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • stream-json (npm): fixed in 3.6.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-104182 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-104182?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-104182?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-104182 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
uhop stream-json< 3.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hqr4-qq8f-hg3xnpmstream-json<3.6.03.6.0

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity for Red Hat products because triggering the denial of service requires processing untrusted JSON with Comments (JSONC) documents, which typically originate from locally controlled user configuration rather than remote network input. Additionally, standard JSON parsing routines remain unaffected, restricting the algorithmic complexity flaw exclusively to specialized JSONC streams. In environments where inputs are restricted to trusted local files, the risk of an unauthenticated resource exhaustion attack is minimal.

ProductPackageStateAdvisory
Red Hat Build of Podman Desktoprh-podman-desktopFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-104182.

References

Check your stackJSON