CVE-2026-40612Jqlang Jq
Medium 5.4
Follow: this CVE · Jqlang · Jqlang Jq We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 4.0
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- May 11, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: proof of concept · 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:P/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. 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.
What to do
- Apply the vendor's security update for Jq.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jqlang | jq | ≤ 1.8.1 |
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 · openSUSE-SU-2026:21248-1 · Jul 7, 2026 High
- 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 (+4)
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