5.4Mittel
CVE-2026-40612jq: Stack overflow via unbounded recursion in jv_contains
Beschreibung
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.
Schwachstellentyp (CWE):
CWE-674
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
Referenzen und Patches
- https://github.com/jqlang/jq/security/advisories/GHSA-r7m6-x9c7-h69j ExploitMitigationVendor Advisory
CPE-Treffer (NVD) (1)
cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*≤ 1.8.1