CVE-2026-47770Jqlang Jq
Medium 6.8
Follow: this CVE · Jqlang · Jqlang Jq We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 4.0
- 6.8
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 25, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
jq is a command-line JSON processor. Prior to 1.8.2, comparing two sufficiently deeply nested arrays with the == operator exhausts the C stack on jq's ordinary command-line surface, resulting in denial of service via stack exhaustion (uncontrolled recursion). The crash occurs in jq's recursive structural comparison code, with the recursion repeating through jvp_array_equal() and jv_equal() in src/jv.c when comparing deeply nested arrays; a nearby sort comparator path through jv_cmp() in src/jv_aux.c overflows the stack at a larger nesting depth from the same missing recursion guard. Anyone running jq comparisons on attacker-controlled deeply nested JSON values, or embedding jq in a context where untrusted data can reach the == comparison path, is affected. This vulnerability is fixed in 1.8.2.
What to do
- Apply the vendor's security update for Jq.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jqlang | jq | < 1.8.2 |
Official advisories
- Security update for jq · SUSE · SUSE-SU-2026:4275-1 · Sep 21, 2026 Critical
- Security update for jq · SUSE · SUSE-SU-2026:23873-1 · Sep 17, 2026 Critical
- Security update for jq · SUSE · SUSE-SU-2026:23735-1 · Sep 14, 2026 Medium
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:29986 · Jun 27, 2026 High
Also: SUSE (+5)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mitigation Vendor Advisory