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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*

History

26 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) jq es un procesador de JSON de línea de comandos. En 1.8.1 y versiones anteriores, jv_contains recurre en arrays/objetos anidados sin límite de profundidad. Con una estructura de entrada suficientemente anidada (construida programáticamente con reduce, ya que el analizador JSON tiene un límite de profundidad de 10000), la pila de C se agota.

Information

Published : 2026-05-11 18:16

Updated : 2026-10-26 18:10


NVD link : CVE-2026-40612

Mitre link : CVE-2026-40612

CVE.ORG link : CVE-2026-40612


JSON object : View

Products Affected

jqlang

  • jq
CWE
CWE-674

Uncontrolled Recursion