CVSS 4.0
5.4 mediumCVSS: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:PMedium (5.4) in jqlang jq. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
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:PCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExplain CVE-2026-40612 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40612?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40612?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40612 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| jqlang:jq | through 1.8.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | jq | no fix listed | DEBIAN-CVE-2026-40612 |
| Debian | 13 | jq | 1.7.1-6+deb13u3 | DEBIAN-CVE-2026-40612 |
| Debian | 14 | jq | 1.8.1-6 | DEBIAN-CVE-2026-40612 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 25.10 and 6 more | jq | no fix listed | UBUNTU-CVE-2026-40612 |
| Red Hat | hummingbird:1 | jq, jq-devel | 0:1.8.2-0.1.hum1 | RHSA-2026:29986 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 more | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | jq | 1.7.1-160000.3.1 | SUSE-SU-2026:22566-1 |
| SUSE | Linux Micro 6.0 | jq | 1.7.1-1.1 | SUSE-SU-2026:23873-1 |
| SUSE | Linux Micro 6.1 | jq | 1.7.1-slfo.1.1_3.1 | SUSE-SU-2026:22664-1 |
| SUSE | Linux Micro 6.2 | jq | 1.7.1-160000.3.1 | SUSE-SU-2026:22545-1 |
| openSUSE | Leap 16.0 | jq | 1.7.1-160000.3.1 | openSUSE-SU-2026:21248-1 |
| openSUSE | Tumbleweed | jq | 1.8.1-3.1 | openSUSE-SU-2026:10850-1 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | jq | 1.8.2-r0 | ALPINE-CVE-2026-40612 |
| Azure Linux | 3 | jq | 1.7.1-6 | AZL-86381 |
| Alpaquita | 23, stream | jq | 1.8.1-r1 | BELL-CVE-2026-40612 |
| Alpaquita | 25 | jq | 1.8.1-r2 | BELL-CVE-2026-40612 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
To exploit this issue, an attacker needs to supply a crafted JSON input to be processed by jq with the `jv_contains` function. This allows the attacker to cause an application crash with no other security impact. Due to these reasons, this vulnerability has been rated with a moderate severity.
Do not process untrusted input with the jq command line JSON processor.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | jq-main-1.8.2-0.1.hum1 | Fixed 2026-06-25 | RHSA-2026:29986 |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/hub-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Fix deferred | |
| Red Hat Ceph Storage 4 | jq | Fix deferred | |
| Red Hat Enterprise Linux 10 | jq | Fix deferred | |
| Red Hat Enterprise Linux 8 | jq | Fix deferred | |
| Red Hat Enterprise Linux 9 | jq | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40612.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.