{"id":"CVE-2026-40612","published":"2026-05-11T17:16:25Z","modified":"2026-05-11T18:23:27Z","title":"jq: Stack overflow via unbounded recursion in jv_contains","vendor":"jqlang","product":"jq","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00161,"percentile":0.02812,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/jqlang/jq/security/advisories/GHSA-r7m6-x9c7-h69j","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":0.56},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"jqlang","affectedVersions":[{"vendor":"jqlang","product":"jq","versions":["<= 1.8.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T18:23:24.815066Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-29161","exploited":false,"provenance":"source"}}