5.4Media

CVE-2026-40612jq: Stack overflow via unbounded recursion in jv_contains

jqlang jq Publicada: (hace 6 meses)

Descripción

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.

Debilidad (CWE): CWE-674

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
jqlang jq <= 1.8.1

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:* ≤ 1.8.1