THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-hqr4-qq8f-hg3x (medium) — stream-json: JSONC parser and verifier re-scan the whole accumulated comment on every input chunk

[GHSA] GHSA-hqr4-qq8f-hg3x (medium) — stream-json: JSONC parser and verifier re-scan the whole accumulated comment on every input chunk

medgithub_advisoriesPublished 2026-10-05

GHSA-hqr4-qq8f-hg3x Severity: medium CVE: CVE-2026-104182

stream-json: JSONC parser and verifier re-scan the whole accumulated comment on every input chunk

## Summary

The JSONC parser (`stream-json/jsonc/parser.js`) and verifier (`stream-json/jsonc/verifier.js`) scan a comment for its terminator starting from the comment's opening `/` on every input chunk. When a comment doesn't finish inside t

Indicators of compromise

Original source: https://github.com/advisories/GHSA-hqr4-qq8f-hg3x