Vulnerability Details CVE-2026-40612
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.0
EPSS Ranking 2.3%
CVSS Severity
CVSS v3 Score 5.5
Products affected by CVE-2026-40612
-
-
-
-
-
-
-
-
-
cpe:2.3:a:jqlang:jq:1.7-37-g88f01a7
-
cpe:2.3:a:jqlang:jq:1.7.1