{"id":"DHI-2hdf-j62j-rzxo-fl37","summary":"jq is a command-line JSON processor. Before commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784, jq used MurmurHash3 with a…","details":"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.","modified":"2026-11-21T04:00:21.665416134Z","published":"2026-11-11T19:05:15Z","upstream":["CVE-2026-40164"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-2hdf-j62j-rzxo-fl37"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40164"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-16252.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:16252"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-16693.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:16693"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-19365.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:19365"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-98496.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:98496"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-40164"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3496.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-47770"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-43896"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40164"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39979"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39956"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33948"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33947"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-32316"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1815.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-43894"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-40164"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-16252.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-16252.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-16692.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-16692.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-16693.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-16693.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-19151.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-19151.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-19365.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-19365.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-98496.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-98496.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-40164"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2026-40164"},{"type":"FIX","url":"https://github.com/jqlang/jq/commit/0c7d133c3c7e37c00b6d46b658a02244fdd3c784"},{"type":"FIX","url":"https://github.com/jqlang/jq/security/advisories/GHSA-wwj8-gxm6-jc29"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:16252"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:16692"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:16693"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:19151"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:19365"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:98496"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:98603"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-40164"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-40164"}],"affected":[{"package":{"name":"jq","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/jq"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.2_git20260622-r1"}]}],"versions":["1.8.1-r0","1.8.1_git20260429-r1","1.8.2-r1"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-2hdf-j62j-rzxo-fl37.json","owner_kind":"HSP"}},{"package":{"name":"jq","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/jq"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.2_git20260622-r1"}]}],"versions":["1.8.1_git20260609-r1","1.8.2-r1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-2hdf-j62j-rzxo-fl37.json"}},{"package":{"name":"jq","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/jq"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.1-6+deb13u2+dhi0"},{"introduced":"1.8.1-5"},{"fixed":"1.8.2-1+deb13u0+dhi1"}]}],"versions":["1.7.1-6+deb13u1dhi0","1.7.1-6+deb13u2dhi0","1.8.1-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-2hdf-j62j-rzxo-fl37.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}