Intel

AIKIDO-2026-10341

@discoveryjs/json-ext is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 12, 2026

53

Medium Risk

This Affects:

JS@discoveryjs/json-ext
0.5.0 - 0.6.3
Fixed in 1.0.0
Are you affected? Scan for Free

TL;DR

Affected versions of @discoveryjs/json-ext use a chunked JSON parser that can run out of memory when parsing very long arrays (millions of elements) and can crash or misbehave on malformed input such as leading closing brackets or extra tokens after a complete root value. A remote attacker can trigger DoS by supplying crafted chunked JSON (e.g. via a stream or fetch). The patch batches array construction to avoid OOM and adds validation so malformed top-level tokens and extra content after a complete value are rejected with a parse error instead of causing a crash.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@discoveryjs/json-ext is vulnerable to Denial of Service (DoS) in versions 0.5.0 - 0.6.3.

How to fix this

Upgrade the @discoveryjs/json-ext library to the patch version.