7.5

CVE-2026-40164: jq: Algorithmic complexity DoS via hardcoded MurmurHash3 seed

Deferred
AliasesALPINE-CVE-2026-40164UBUNTU-CVE-2026-40164DEBIAN-CVE-2026-40164
Published 13-04-2026Last modified 01-09-2026

Vulnerability summary

CVE-2026-40164 is a high (CVSS 7.5) Use of Weak Hash vulnerability in jqlang jq. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 30.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · -0.23 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 25 · Related 11

Timeline

  1. 13-04-2026
    PublishedVulnerability first disclosed.
  2. 01-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

Decrease -0.23 pp

From 0.59% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • jq< 1.8.2-r0
Debian1 product
  • jq< 1.6-2.1+deb12u2 | < 1.7.1-6+deb13u2 | < 1.8.1-5
Jqlang1 product
  • jq< 0c7d133c3c7e37c00b6d46b658a02244fdd3c784
Ubuntu1 product
  • jqAll versions (No fix recorded) | < 1.5+dfsg-1ubuntu0.1+esm4 | < 1.5+dfsg-2ubuntu0.1~esm3 | < 1.6-1ubuntu0.20.04.1+esm2 | < 1.6-2.1ubuntu3.2 | < 1.7.1-3ubuntu0.24.04.2 | < 1.8.1-3ubuntu1.1 | < 1.8.1-4ubuntu2

4 vendors · 4 products

References

39 links
Show all 39 references