uhop/stream-json
A micro-library of stream components for building custom JSON and JSONC processing pipelines with a minimal memory footprint — parse, filter, and transform JSON far larger than available memory with a SAX-inspired token API, on Node.js or Web Streams.
- JavaScript
- BSD-3-Clause
- 1.2k stars
1 report
- medium
CVE-2026-104182JSONC parser and verifier re-scan the whole accumulated comment on every input chunk, so a large block or line comment delivered across chunks costs O(n^2) CPU and stalls the event loop (remote unauthenticated DoS)
If an app parses untrusted JSONC, a big comment sent in small chunks gets re-scanned from the start on every chunk, so a few MB blocks the event loop for over 10 seconds.