Back to search
CVE-2026-40612
Published: May 11, 2026
Modified: May 11, 2026
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
jqlang | jq | affected <= 1.8.1 |
Weaknesses (CWE)
References
https://github.com/jqlang/jq/security/advisories/GHSA-r7m6-x9c7-h69j
x_refsource_CONFIRM
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now