CVE-2026-40612
Fixed in a distro release EPSS <1%CVSS 5.4
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.
Products: jqlang jq
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.22 | jq | 1.8.2-r0 |
| Alpine 3.23 | jq | 1.8.2-r0 |
| Alpine 3.24 | jq | 1.8.2-r0 |
| Debian 12 | jq | no fix |
| Debian 13 | jq | 1.7.1-6+deb13u3 |
| Debian 14 | jq | 1.8.1-6 |
| Red Hat hummingbird 1 | jq | 0:1.8.2-0.1.hum1 |
| Red Hat hummingbird 1 | jq-devel | 0:1.8.2-0.1.hum1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Micro 5.3 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Micro 5.4 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Micro 5.5 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server 16.0 | jq | 1.7.1-160000.3.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | jq | 1.7.1-160000.3.1 |
| SUSE Linux Micro 6.0 | jq | 1.7.1-1.1 |
| SUSE Linux Micro 6.1 | jq | 1.7.1-slfo.1.1_3.1 |
| SUSE Linux Micro 6.2 | jq | 1.7.1-160000.3.1 |
| Ubuntu 22.04 LTS | jq | no fix |
| Ubuntu 24.04 LTS | jq | no fix |
| Ubuntu 25.10 | jq | no fix |
| Ubuntu 26.04 LTS | jq | no fix |
| Ubuntu 26.10 | jq | no fix |
| Ubuntu Pro 14.04 LTS | jq | no fix |
| Ubuntu Pro 16.04 LTS | jq | no fix |
| Ubuntu Pro 18.04 LTS | jq | no fix |
| Ubuntu Pro 20.04 LTS | jq | no fix |
| openSUSE Leap 16.0 | jq | 1.7.1-160000.3.1 |
| openSUSE Tumbleweed | jq | 1.8.1-3.1 |