CVE-2026-40612: Jqlang Jq

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Jqlang Jq: up to and including 1.8.1

Published 2026-05-11. Last modified 2026-06-17.