CVE-2026-40164
Fixed in a distro release EPSS <1%CVSS 7.5
jq is a command-line JSON processor. Before commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784, jq used MurmurHash3 with a hardcoded, publicly visible seed (0x432A9843) for all JSON object hash table operations, which allowed an attacker to precompute key collisions offline. By supplying a crafted JSON object (~100 KB) where all keys hashed to the same bucket, hash table lookups degraded from O(1) to O(n), turning any jq expression into an O(n²) operation and causing significant CPU exhaustion. This affected common jq use cases such as CI/CD pipelines, web services, and data processing scripts, and was far more practical to exploit than existing heap overflow issues since it required only a small payload. This issue has been patched in commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784.
Products: jqlang jq, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On, Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Telecommunications Update Service, Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.8 Telecommunications Update Service, Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Extended Update Support, Red Hat Enterprise Linux 9.6 Extended Update Support, Red Hat OpenShift Container Platform 4.12, Red Hat OpenShift Container Platform 4.13, Red Hat OpenShift Container Platform 4.14, Red Hat OpenShift Container Platform 4.15, Red Hat OpenShift Container Platform 4.16, Red Hat OpenShift Container Platform 4.17, Red Hat OpenShift Container Platform 4.18, Red Hat OpenShift Container Platform 4.19, Red Hat AI Inference Server 3.2, Red Hat AI Inference Server 3.3, Red Hat Hardened Images
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | jq | 1.7.1-11.el10_1.0.2 |
| AlmaLinux 10 | jq | 1.7.1-11.el10_2.2 |
| AlmaLinux 10 | jq-devel | 1.7.1-11.el10_1.0.2 |
| AlmaLinux 10 | jq-devel | 1.7.1-11.el10_2.2 |
| AlmaLinux 8 | jq | 1.6-12.el8_10 |
| AlmaLinux 8 | jq-devel | 1.6-12.el8_10 |
| AlmaLinux 9 | jq | 1.6-19.el9_7.0.2 |
| AlmaLinux 9 | jq | 1.6-19.el9_8.2 |
| AlmaLinux 9 | jq-devel | 1.6-19.el9_7.0.2 |
| AlmaLinux 9 | jq-devel | 1.6-19.el9_8.2 |
| Alpine 3.22 | jq | 1.8.2-r0 |
| Alpine 3.23 | jq | 1.8.2-r0 |
| Alpine 3.24 | jq | 1.8.2-r0 |
| Amazon Linux 2 | jq | 1.6-17.amzn2.0.1 |
| Amazon Linux 2 | jq-devel | 1.6-17.amzn2.0.1 |
| Amazon Linux 2023 | jq | 1.8.1-59.amzn2023 |
| Amazon Linux 2023 | jq-devel | 1.8.1-59.amzn2023 |
| Debian 12 | jq | 1.6-2.1+deb12u2 |
| Debian 13 | jq | 1.7.1-6+deb13u2 |
| Debian 14 | jq | 1.8.1-5 |
| Red Hat Enterprise Linux 10.1 | jq | 0:1.7.1-11.el10_1.0.2 |
| Red Hat Enterprise Linux 10.1 | jq-debuginfo | 0:1.7.1-11.el10_1.0.2 |
| Red Hat Enterprise Linux 10.1 | jq-debugsource | 0:1.7.1-11.el10_1.0.2 |
| Red Hat Enterprise Linux 10.1 | jq-devel | 0:1.7.1-11.el10_1.0.2 |
| Red Hat Enterprise Linux 10.2 | jq | 0:1.7.1-11.el10_2.2 |
| Red Hat Enterprise Linux 10.2 | jq-debuginfo | 0:1.7.1-11.el10_2.2 |
| Red Hat Enterprise Linux 10.2 | jq-debugsource | 0:1.7.1-11.el10_2.2 |
| Red Hat Enterprise Linux 10.2 | jq-devel | 0:1.7.1-11.el10_2.2 |
| Red Hat Enterprise Linux 8 | jq | 0:1.6-12.el8_10 |
| Red Hat Enterprise Linux 8 | jq-debuginfo | 0:1.6-12.el8_10 |
| Red Hat Enterprise Linux 8 | jq-debugsource | 0:1.6-12.el8_10 |
| Red Hat Enterprise Linux 8 | jq-devel | 0:1.6-12.el8_10 |
| Red Hat Enterprise Linux 9 | jq | 0:1.6-19.el9_7.0.2 |
| Red Hat Enterprise Linux 9 | jq | 0:1.6-19.el9_8.2 |
| Red Hat Enterprise Linux 9 | jq-debuginfo | 0:1.6-19.el9_7.0.2 |
| Red Hat Enterprise Linux 9 | jq-debuginfo | 0:1.6-19.el9_8.2 |
| Red Hat Enterprise Linux 9 | jq-debugsource | 0:1.6-19.el9_8.2 |
| Red Hat Enterprise Linux 9 | jq-debugsource | 0:1.6-19.el9_7.0.2 |
| Red Hat Enterprise Linux 9 | jq-devel | 0:1.6-19.el9_8.2 |
| Red Hat Enterprise Linux 9 | jq-devel | 0:1.6-19.el9_7.0.2 |
| Red Hat Enterprise Linux eus 10.0 | jq | 0:1.7.1-8.el10_0.3 |
| Red Hat Enterprise Linux eus 10.0 | jq-debuginfo | 0:1.7.1-8.el10_0.3 |
| Red Hat Enterprise Linux eus 10.0 | jq-debugsource | 0:1.7.1-8.el10_0.3 |
| Red Hat Enterprise Linux eus 10.0 | jq-devel | 0:1.7.1-8.el10_0.3 |
| Red Hat hummingbird 1 | jq | 0:1.8.1-3.hum1 |
| Red Hat hummingbird 1 | jq-devel | 0:1.8.1-3.hum1 |
| Red Hat rhel aus 8.4 | jq | 0:1.5-12.el8_4.5 |
| Red Hat rhel aus 8.4 | jq-debuginfo | 0:1.5-12.el8_4.5 |
| Red Hat rhel aus 8.4 | jq-debugsource | 0:1.5-12.el8_4.5 |
| Red Hat rhel aus 8.6 | jq | 0:1.6-3.el8_6.2 |
| Red Hat rhel aus 8.6 | jq-debuginfo | 0:1.6-3.el8_6.2 |
| Red Hat rhel aus 8.6 | jq-debugsource | 0:1.6-3.el8_6.2 |
| Red Hat rhel e4s 8.6 | jq | 0:1.6-3.el8_6.2 |
| Red Hat rhel e4s 8.6 | jq-debuginfo | 0:1.6-3.el8_6.2 |
| Red Hat rhel e4s 8.6 | jq-debugsource | 0:1.6-3.el8_6.2 |
| Red Hat rhel e4s 8.8 | jq | 0:1.6-6.el8_8.4 |
| Red Hat rhel e4s 8.8 | jq-debuginfo | 0:1.6-6.el8_8.4 |
| Red Hat rhel e4s 8.8 | jq-debugsource | 0:1.6-6.el8_8.4 |
| Red Hat rhel e4s 9.0 | jq | 0:1.6-12.el9_0.3 |
| Red Hat rhel e4s 9.0 | jq-debuginfo | 0:1.6-12.el9_0.3 |
| Red Hat rhel e4s 9.0 | jq-debugsource | 0:1.6-12.el9_0.3 |
| Red Hat rhel e4s 9.2 | jq | 0:1.6-15.el9_2.3 |
| Red Hat rhel e4s 9.2 | jq-debuginfo | 0:1.6-15.el9_2.3 |
| Red Hat rhel e4s 9.2 | jq-debugsource | 0:1.6-15.el9_2.3 |
| Red Hat rhel eus 9.4 | jq | 0:1.6-16.el9_4.2 |
| Red Hat rhel eus 9.4 | jq-debuginfo | 0:1.6-16.el9_4.2 |
| Red Hat rhel eus 9.4 | jq-debugsource | 0:1.6-16.el9_4.2 |
| Red Hat rhel eus 9.4 | jq-devel | 0:1.6-16.el9_4.2 |
| Red Hat rhel eus 9.6 | jq | 0:1.6-17.el9_6.4 |
| Red Hat rhel eus 9.6 | jq-debuginfo | 0:1.6-17.el9_6.4 |
| Red Hat rhel eus 9.6 | jq-debugsource | 0:1.6-17.el9_6.4 |
| Red Hat rhel eus 9.6 | jq-devel | 0:1.6-17.el9_6.4 |
| Red Hat rhel eus long life 8.4 | jq | 0:1.5-12.el8_4.5 |
| Red Hat rhel eus long life 8.4 | jq-debuginfo | 0:1.5-12.el8_4.5 |
| Red Hat rhel eus long life 8.4 | jq-debugsource | 0:1.5-12.el8_4.5 |
| Red Hat rhel tus 8.6 | jq | 0:1.6-3.el8_6.2 |
| Red Hat rhel tus 8.6 | jq-debuginfo | 0:1.6-3.el8_6.2 |
| Red Hat rhel tus 8.6 | jq-debugsource | 0:1.6-3.el8_6.2 |
| Red Hat rhel tus 8.8 | jq | 0:1.6-6.el8_8.4 |
| Red Hat rhel tus 8.8 | jq-debuginfo | 0:1.6-6.el8_8.4 |
| Red Hat rhel tus 8.8 | jq-debugsource | 0:1.6-6.el8_8.4 |
| Rocky Linux 10 | jq | 0:1.7.1-11.el10_2.2 |
| Rocky Linux 10 | jq | 0:1.7.1-11.el10_1.0.2 |
| Rocky Linux 8 | jq | 0:1.6-12.el8_10 |
| Rocky Linux 9 | jq | 0:1.6-19.el9_7.0.2 |
| Rocky Linux 9 | jq | 0:1.6-19.el9_8.2 |
| 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.6-150000.3.20.1 |
| SUSE Linux Enterprise Micro 5.3 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Micro 5.4 | jq | 1.6-150000.3.20.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 Micro 5.5 | jq | 1.6-150000.3.20.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | jq | 1.6-150000.3.20.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.6-6.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 | 1.6-2.1ubuntu3.2 |
| Ubuntu 24.04 LTS | jq | 1.7.1-3ubuntu0.24.04.2 |
| Ubuntu 25.10 | jq | 1.8.1-3ubuntu1.1 |
| Ubuntu 26.04 LTS | jq | 1.8.1-4ubuntu2 |
| Ubuntu Pro 14.04 LTS | jq | no fix |
| Ubuntu Pro 14.04 LTS | jq | 1.3-1.1ubuntu1.1+esm4 |
| Ubuntu Pro 16.04 LTS | jq | 1.5+dfsg-1ubuntu0.1+esm4 |
| Ubuntu Pro 18.04 LTS | jq | 1.5+dfsg-2ubuntu0.1~esm3 |
| Ubuntu Pro 18.04 LTS | jq | 1.5+dfsg-2ubuntu0.1~esm2 |
| Ubuntu Pro 20.04 LTS | jq | 1.6-1ubuntu0.20.04.1+esm2 |
| Ubuntu Pro 20.04 LTS | jq | 1.6-1ubuntu0.20.04.1+esm3 |
| openSUSE Leap 16.0 | jq | 1.7.1-160000.3.1 |
| openSUSE Tumbleweed | jq | 1.8.1-3.1 |