CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in jqlang jq. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2026-40164 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40164?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40164?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-40164 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 CNA's record in the CVE List.
| Product | Affected |
|---|---|
| jqlang jq | < 0c7d133c3c7e37c00b6d46b658a02244fdd3c784 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | jq | 1.6-2.1+deb12u2 | DEBIAN-CVE-2026-40164 |
| Debian | 13 | jq | 1.7.1-6+deb13u2 | DEBIAN-CVE-2026-40164 |
| Debian | 14 | jq | 1.8.1-5 | DEBIAN-CVE-2026-40164 |
| Ubuntu | 22.04:LTS | jq | 1.6-2.1ubuntu3.2 | UBUNTU-CVE-2026-40164 USN-8202-1 |
| Ubuntu | 24.04:LTS | jq | 1.7.1-3ubuntu0.24.04.2 | UBUNTU-CVE-2026-40164 USN-8202-1 |
| Ubuntu | 25.10 | jq | 1.8.1-3ubuntu1.1 | UBUNTU-CVE-2026-40164 USN-8202-1 |
| Ubuntu | 26.04:LTS | jq | 1.8.1-4ubuntu2 | UBUNTU-CVE-2026-40164 |
| Ubuntu | Pro:14.04:LTS | jq | no fix listed | UBUNTU-CVE-2026-40164 USN-8202-1 |
| Ubuntu | Pro:16.04:LTS | jq | 1.5+dfsg-1ubuntu0.1+esm4 | UBUNTU-CVE-2026-40164 USN-8202-1 |
| Ubuntu | Pro:18.04:LTS | jq | 1.5+dfsg-2ubuntu0.1~esm3 | UBUNTU-CVE-2026-40164 USN-8202-1 |
| Ubuntu | Pro:20.04:LTS | jq | 1.6-1ubuntu0.20.04.1+esm2 | UBUNTU-CVE-2026-40164 USN-8202-1 |
| Red Hat | enterprise_linux:8::appstream | jq, jq-debuginfo, jq-debugsource | 0:1.6-12.el8_10 | RHSA-2026:16252 |
| Red Hat | enterprise_linux:8::crb | jq-devel, jq-debuginfo, jq-debugsource | 0:1.6-12.el8_10 | RHSA-2026:16252 |
| Red Hat | enterprise_linux:9::baseos | jq, jq-debuginfo, jq-debugsource | 0:1.6-19.el9_7.0.2 | RHSA-2026:16693 |
| Red Hat | enterprise_linux:9::baseos | jq, jq-debuginfo, jq-debugsource | 0:1.6-19.el9_8.2 | RHSA-2026:19365 |
| Red Hat | enterprise_linux:9::baseos | jq, jq-debuginfo, jq-debugsource | 0:1.6-21.el9_9 | RHSA-2026:98496 |
| Red Hat | enterprise_linux:9::crb | jq-devel, jq-debuginfo, jq-debugsource | 0:1.6-19.el9_7.0.2 | RHSA-2026:16693 |
| Red Hat | enterprise_linux:9::crb | jq-devel, jq-debuginfo, jq-debugsource | 0:1.6-19.el9_8.2 | RHSA-2026:19365 |
| Red Hat | enterprise_linux:9::crb | jq-devel, jq-debuginfo, jq-debugsource | 0:1.6-21.el9_9 | RHSA-2026:98496 |
| Red Hat | enterprise_linux:10.1 | jq, jq-devel, jq-debuginfo and 1 more | 0:1.7.1-11.el10_1.0.2 | RHSA-2026:16692 |
| Red Hat | enterprise_linux:10.2 | jq, jq-devel, jq-debuginfo and 1 more | 0:1.7.1-11.el10_2.2 | RHSA-2026:19151 |
| Red Hat | enterprise_linux:10.3 | jq, jq-devel, jq-debuginfo and 1 more | 0:1.7.1-13.el10_3 | RHSA-2026:98603 |
| Red Hat | enterprise_linux_eus:10.0 | jq, jq-devel, jq-debuginfo and 1 more | 0:1.7.1-8.el10_0.3 | RHSA-2026:18040 |
| 10 more for Red Hat in the JSON and on Red Hat's page. | ||||
| 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 Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 and 1 more | jq | 1.6-150000.3.20.1 | SUSE-SU-2026:2983-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.6-6.1 | SUSE-SU-2026:22705-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 |
| AlmaLinux | 8 | jq, jq-devel | 1.6-12.el8_10 | ALSA-2026:16252 |
| AlmaLinux | 9 | jq, jq-devel | 1.6-19.el9_7.0.2 | ALSA-2026:16693 |
| AlmaLinux | 9 | jq, jq-devel | 1.6-19.el9_8.2 | ALSA-2026:19365 |
| AlmaLinux | 10 | jq, jq-devel | 1.7.1-11.el10_1.0.2 | ALSA-2026:16692 |
| AlmaLinux | 10 | jq, jq-devel | 1.7.1-11.el10_2.2 | ALSA-2026:19151 |
| Rocky Linux | 8 | jq | 0:1.6-12.el8_10 | RLSA-2026:16252 |
| Rocky Linux | 9 | jq | 0:1.6-19.el9_7.0.2 | RLSA-2026:16693 |
| Rocky Linux | 9 | jq | 0:1.6-19.el9_8.2 | RLSA-2026:19365 |
| Rocky Linux | 9 | jq, jq-devel, jq-debuginfo and 1 more | 0:1.6-21.el9_9 | RLSA-2026:98496 |
| Rocky Linux | 10 | jq | 0:1.7.1-11.el10_1.0.2 | RLSA-2026:16692 |
| Rocky Linux | 10 | jq | 0:1.7.1-11.el10_2.2 | RLSA-2026:19151 |
| Rocky Linux | 10 | jq, jq-devel, jq-debuginfo and 1 more | 0:1.7.1-13.el10_3 | RLSA-2026:98603 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | jq | 1.8.2-r0 | ALPINE-CVE-2026-40164 |
| Azure Linux | 3 | jq | 1.7.1-5 | AZL-82934 |
| Alpaquita | 23, stream | jq | 1.8.1-r1 | BELL-CVE-2026-40164 |
| Alpaquita | 25 | jq | 1.8.1-r2 | BELL-CVE-2026-40164 |
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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; 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 Important.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | jq-0:1.7.1-11.el10_1.0.2 | Fixed 2026-05-13 | RHSA-2026:16692 |
| Red Hat Enterprise Linux 10 | jq-0:1.7.1-11.el10_2.2 | Fixed 2026-05-19 | RHSA-2026:19151 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | jq-0:1.7.1-8.el10_0.3 | Fixed 2026-05-18 | RHSA-2026:18040 |
| Red Hat Enterprise Linux 8 | jq-0:1.6-12.el8_10 | Fixed 2026-05-12 | RHSA-2026:16252 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | jq-0:1.5-12.el8_4.5 | Fixed 2026-05-18 | RHSA-2026:18048 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | jq-0:1.5-12.el8_4.5 | Fixed 2026-05-18 | RHSA-2026:18048 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | jq-0:1.6-3.el8_6.2 | Fixed 2026-05-18 | RHSA-2026:18047 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | jq-0:1.6-3.el8_6.2 | Fixed 2026-05-18 | RHSA-2026:18047 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | jq-0:1.6-3.el8_6.2 | Fixed 2026-05-18 | RHSA-2026:18047 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | jq-0:1.6-6.el8_8.4 | Fixed 2026-05-18 | RHSA-2026:18046 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | jq-0:1.6-6.el8_8.4 | Fixed 2026-05-18 | RHSA-2026:18046 |
| Red Hat Enterprise Linux 9 | jq-0:1.6-19.el9_7.0.2 | Fixed 2026-05-13 | RHSA-2026:16693 |
| Red Hat Enterprise Linux 9 | jq-0:1.6-19.el9_8.2 | Fixed 2026-05-19 | RHSA-2026:19365 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | jq-0:1.6-12.el9_0.3 | Fixed 2026-05-18 | RHSA-2026:18045 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | jq-0:1.6-15.el9_2.3 | Fixed 2026-05-18 | RHSA-2026:18044 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | jq-0:1.6-16.el9_4.2 | Fixed 2026-05-18 | RHSA-2026:18043 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | jq-0:1.6-17.el9_6.4 | Fixed 2026-05-18 | RHSA-2026:18042 |
| Red Hat OpenShift Container Platform 4.12 | openshift/ose-rhel-coreos-8:412.86.202606140301-0 | Fixed 2026-06-25 | RHSA-2026:26528 |
| Red Hat OpenShift Container Platform 4.13 | openshift/ose-rhel-coreos-9:413.92.202606160406-0 | Fixed 2026-06-25 | RHSA-2026:26542 |
| Red Hat OpenShift Container Platform 4.14 | openshift/ose-rhel-coreos-9:414.92.202606231112-0 | Fixed 2026-07-01 | RHSA-2026:28887 |
| 12 more in the JSON and on Red Hat's page. | |||
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-40164.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.