Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-40164: Hash-collision denial of service in jq

Published Apr 13, 2026 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days10 mentions · peak 2 in a dayToday
CVSS7.5High · v3.1
EPSS0.38%24th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-40164CWE-341 · Predictable from Observable State

CVE-2026-40164 is an algorithmic-complexity denial-of-service vulnerability in jq's JSON object hash tables before the upstream fix. jq uses MurmurHash3 with a hardcoded, publicly known seed, allowing attackers to precompute colliding object keys offline. Processing a crafted JSON object of approximately 100 KB whose keys map to the same bucket degrades hash-table lookups from expected O(1) to O(n), producing O(n²) object-processing behavior and significant CPU exhaustion. Exploitation requires malicious JSON input rather than an attacker-controlled jq expression.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A small malicious JSON object can consume disproportionate CPU time and substantially delay or disrupt jq processing. Applications that pass untrusted JSON to vulnerable jq installations, including web services, CI/CD pipelines, and data-processing scripts, can suffer stalled jobs, reduced throughput, and denial of service. This vulnerability does not establish memory disclosure, data modification, or code execution.

Mitigation

If you can’t patch tonight, do this now.

No vulnerability-specific vendor workaround is identified. Pending patching, prevent untrusted JSON from reaching vulnerable jq instances where feasible. As compensating controls, enforce processing deadlines and CPU quotas, isolate jq workers from critical services, and limit concurrent untrusted jobs. Input-size limits alone are insufficient because a triggering object can be approximately 100 KB.

Remediation

Patch, then assume compromise.

Update jq to a build incorporating upstream commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784 or an equivalent vendor backport. Fixed packages include jq 1.6-6.el8_8.4 for the applicable RHEL 8.8 support streams and jq 1.5-12.el8_4.5 for the applicable RHEL 8.4 support streams. For other distributions, install the applicable vendor security update. Update affected container images and rebuild dependent images so they include the patched jq package.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-40164 exploited in the wild?
As of Nov 26, 2026, Mallory has no reports of CVE-2026-40164 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-40164?
Yes. As of Nov 26, 2026, Mallory has reports of a public exploit for CVE-2026-40164.
Is there a patch for CVE-2026-40164?
Update jq to a build incorporating upstream commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784 or an equivalent vendor backport. Fixed packages include jq 1.6-6.el8_8.4 for the applicable RHEL 8.8 support streams and jq 1.5-12.el8_4.5 for the applicable RHEL 8.4 support streams.
How severe is CVE-2026-40164?
CVE-2026-40164 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.38% (24th percentile) as of Nov 26, 2026.
Activity feed

Recent activity

75 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable cloud security pluginsNews · Nov 26, 2026Alpine: multiple jq packages: security update to 1.8.2-r0 | Tenable®Listed among the vulnerabilities covered by the Alpine jq security update to 1.8.2-r0. No vulnerability-specific technical details are provided.Read more ↗tenable nessus pluginsNews · Nov 25, 2026Oracle Linux 10 : jq (ELSA-2026-98603) | Tenable®A vulnerability listed in the Oracle Linux 10 jq security advisory ELSA-2026-98603. No vulnerability-specific technical description is provided. The plugin reports available exploits and a patch publication date of November 23, 2026.Read more ↗tenable nessus pluginsNews · Nov 20, 2026Oracle Linux 9 : jq (ELSA-2026-98496) | Tenable®A vulnerability listed in Oracle Linux 9 jq advisory ELSA-2026-98496. Its technical cause and individual impact are not described. The advisory reports available exploits and a patch published on November 19, 2026, without distinguishing exploit availability between its two listed CVEs.Read more ↗tenable nessus pluginsNews · Nov 14, 2026Rocky Linux 9 [CIQ] Security Update: jq / jq-debuginfo / jq-de... | Tenable®A jq denial-of-service vulnerability triggered by a crafted JSON object causing hash collisions affects packages on Rocky Linux 9. The combined Nessus advisory states that exploits are available without providing a separate exploit assessment for this CVE. Updated packages are available under CIQ advisory crlsa-2026_98496; detection is version-based rather than an exploitation test.Read more ↗
+32 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.