Skip to content
5.4 Medium

CVE-2026-40612 jq is a command-line JSON processor

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.

Affected products and versions

Product Affected versions Fixed in
jq 1.8 earliest → 1.8.1 No fix stated

References

Timeline

  1. Published
  2. Last modified
The 23 CVEs of jq →
Track this CVE