CVE-2026-40164
highpriority · track · 0EPSS 0.004 · 30 %ileDEEUFRRUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (17)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux Hardened Images RPMs jqall versionscert_bundDEcpe:/o:redhat:enterprise_linux:hardened_images_rpms_jq
- Red Hat OpenShift Container Platformall versionscert_bundDEcpe:/a:redhat:openshift:container_platform
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1183Red Hat Hardened Images RPMs (jq und pyOpenSSL): Mehrere SchwachstellenDeutsch2026-04-20csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Red Hat Hardened Images RPMs ausnutzen, um Sicherheitsvorkehrungen zu umgehen, einen Denial-of-Service-Zustand verursachen, vertrauliche Informationen offenlegen oder nicht näher spezifizierte Angriffe durchführen, einschließlich potenzieller Codeausführung.
- CERTFR-2026-AVI-1385Multiples vulnérabilités dans les produits VMwareFrançais2026-10-26vendor · certfrFR
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (37)
External citations — patches, advisories, analysis.
- https://github.com/jqlang/jq/commit/0c7d133c3c7e37c00b6d46b658a02244fdd3c784cnnvd
- https://github.com/jqlang/jq/security/advisories/GHSA-wwj8-gxm6-jc29cnnvd
- https://jqlang.org/Patchcnnvd
- https://github.com/jqlang/jq/commit/0c7d133c3c7e37c00b6d46b658a02244fdd3c784enisa_euvd
- https://github.com/jqlang/jq/security/advisories/GHSA-wwj8-gxm6-jc29enisa_euvd
- https://access.redhat.com/errata/RHSA-2026:16252nvd
- https://access.redhat.com/errata/RHSA-2026:16692nvd
- https://access.redhat.com/errata/RHSA-2026:16693nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan