🛡️ CVE-2026-40164 on Debian — jq
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.
Distribution advisory
This page covers CVE-2026-40164 as tracked by Debian, for the package jq. The fix is available in version 1.8.1-5; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
DEBIAN-CVE-2026-40164 is recorded against 1 package.
- jq (fixed in 1.8.1-5)
Timeline and source
Published on 14 April 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-40164 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| jq | — | 1.8.1-5 |
References
Similar Threats
- Unknown ALSA-2026:19151
- Unknown ALSA-2026:19365
- Unknown ALSA-2026:16692
- Unknown ALSA-2026:16693
- Unknown ALSA-2026:16252
More DEBIAN CVE 2026 advisories
Browse all of DEBIAN CVE 2026 in the advisory index.
- DEBIAN-CVE-2026-40033
- DEBIAN-CVE-2026-40034
- DEBIAN-CVE-2026-40079
- DEBIAN-CVE-2026-40080
- DEBIAN-CVE-2026-40082
- DEBIAN-CVE-2026-40083
- DEBIAN-CVE-2026-40084
- DEBIAN-CVE-2026-40110
- DEBIAN-CVE-2026-40169
- DEBIAN-CVE-2026-40170
- DEBIAN-CVE-2026-40171
- DEBIAN-CVE-2026-40175
- DEBIAN-CVE-2026-40176
- DEBIAN-CVE-2026-40183
- DEBIAN-CVE-2026-40192
- DEBIAN-CVE-2026-40194
Site Security Check
Is jq part of your stack?
DEBIAN-CVE-2026-40164 is rated CVSS 7.5 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.