Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-40164 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://access.redhat.com/errata/RHSA-2026:16252 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:16692 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:16693 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:18040 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:18042 redhat-SADP

see all 32 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-328Use of Weak Hash[email protected]
CWE-341Predictable from Observable Stateredhat-SADP
CWE-407Inefficient Algorithmic Complexity[email protected]

Affected Products

ProductVersions
jq
< 0c7d133c3c7e37c00b6d46b658a02244fdd3c784

CPE

  • cpe:2.3:a:jq_project:jq:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

7 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-40164
NVD Published Date:
Apr 14, 2026
NVD Last Modified:
Jul 15, 2026
Source:
[email protected]