Process crash via unbounded structural-comparison recursion
Published Jun 25, 2026 · Updated Jun 25, 2026
Uncontrolled recursion in jqlang jq before 1.8.2 allows attackers to crash the process by comparing deeply nested arrays with ==. In src/jv.c, jvp_array_equal() repeatedly calls jv_equal() for nested elements without a depth guard, exhausting the C stack; jv_cmp() has the same flaw on a deeper sort path. Reachability requires attacker-controlled JSON to reach equality or comparison logic, and the demonstrated consequence is process termination without memory corruption or code execution.
Summary
What happened
Uncontrolled recursion in jqlang jq before 1.8.2 allows attackers to crash the process by comparing deeply nested arrays with ==. In src/jv.c, jvp_array_equal() repeatedly calls jv_equal() for nested elements without a depth guard, exhausting the C stack; jv_cmp() has the same flaw on a deeper sort path. Reachability requires attacker-controlled JSON to reach equality or comparison logic, and the demonstrated consequence is process termination without memory corruption or code execution.
The record
- CVE
- CVE-2026-47770
- Published
- Jun 25, 2026
- Updated
- Jun 25, 2026
- Vendor
- jqlang
- Product
- jq
- Classifications
- CWE-674, T1499.004
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 25, 2026CVE publishedPublication date reported by the CVE source.
- Jun 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.8.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Deep structural equality stack-exhaustion reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo