CVE-2026-40612

Medium

Description

jq is a command-line JSON processor. In 1.8.1 and earlier, jv_contains recurses into nested arrays/objects with no depth limit. With a sufficiently nested input structure (built programmatically with reduce, since the JSON parser caps at depth 10000), the C stack is exhausted.

SeverityMedium
CVSS5.5
Exploit probability—
ProductJq
PublishedMay 11, 2026
First seenMay 11, 2026
Weakness typeCWE-674CWE-674

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
jqlang jqv ≤ 1.8.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-40612 · Jq · Dark Radar