CVE-2026-40164
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify jq-based endpoint processing JSON
-
DeliveryGenerate collision payload using known MurmurHash3 seed
-
ExploitSubmit crafted 100KB JSON object
-
ExecutionTrigger O(n²) hash table degradation
-
PersistExhaust CPU resources
-
ImpactDeny service availability
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Irreversible hash functions
|
| Exploitation Conditions | Remote attacker sends crafted JSON object (~100 KB) with precomputed key collisions to jq versions before commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784. No authentication or user interaction required. Affects jq instances processing untrusted JSON input in CI/CD pipelines, web services, and data processing scripts. |
| Impact | This represents a high-priority denial-of-service risk despite no confirmed active exploitation. The CVSS score of 7.5 reflects the critical factors: network attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and high availability impact (A:H). The attack is highly practical because it requires only a small payload (~100KB JSON) that can be delivered through any jq input mechanism including HTTP APIs, file uploads, or CI/CD pipeline inputs. The CVSS complexity rating of 'Low' is accurate since exploitation requires only knowledge of the hardcoded seed and basic hash collision generation. While no public exploit identified at time of analysis, the advisory explicitly describes the attack methodology and the required payload size, making weaponization straightforward for adversaries. The vulnerability affects common production scenarios: web services parsing user-supplied JSON, CI/CD systems processing configuration files, and data pipelines. Unlike theoretical high-CVSS issues, this combines ease of exploitation with broad attack surface. Organizations using jq in any automated or user-facing context should prioritize patching. The main mitigating factor is that the impact is limited to availability (no confidentiality or integrity compromise), but for critical infrastructure or revenue-generating services, availability loss can be severe. |
| Exploit ScenarioDerived | An attacker identifies a web service that uses jq to process user-submitted JSON data, such as a REST API endpoint accepting configuration files or a CI/CD platform parsing build manifests. The attacker generates a 100KB JSON object where all keys are precomputed to collide in jq's hash table using the known seed value 0x432A9843. When this payload is submitted to the service, jq's hash table operations degrade to O(n²) complexity, consuming CPU resources and causing the service to hang or timeout. Concurrent submissions of this payload can exhaust all available CPU cores, resulting in complete service denial for legitimate users. The attack requires no authentication, leaves minimal forensic traces (appears as legitimate JSON), and can be automated for sustained impact. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 14, 2026
Algorithmic complexity attack in jq JSON processor allows remote denial of service via hash collision exploitation. An attacker can craft a ~100KB JSON object with precomputed colliding keys that degrade hash table performance from O(1) to O(n²), causing severe CPU exhaustion in unauthenticated network contexts including CI/CD pipelines and web services. The vulnerability stems from a hardcoded MurmurHash3 seed (0x432A9843) that enables offline collision calculation. Fixed in commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784. CVSS 7.5 (High severity, network-exploitable, no authentication required). No public exploit identified at time of analysis, but attack technique is well-documented and feasible.
RemediationAI
Upgrade to jq version containing commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784 or later. Users compiling from source should pull the latest main branch from https://github.com/jqlang/jq and rebuild. For package manager installations, monitor vendor repositories for updated packages incorporating this fix and apply updates immediately upon availability. As an interim mitigation where patching is delayed, implement input validation to restrict JSON object size (reject payloads exceeding reasonable application limits, typically under 10KB for most use cases) and enforce processing timeouts to prevent indefinite CPU consumption. Consider rate limiting or sandboxing jq processes in multi-tenant or public-facing environments. Review application logs for unusual CPU spikes or slow jq operations that may indicate exploitation attempts. Organizations using jq in CI/CD pipelines should audit which sources provide JSON input and apply least-privilege access controls. Full technical details and patch information available at https://github.com/jqlang/jq/security/advisories/GHSA-wwj8-gxm6-jc29.
Affected ProductsAI
The vulnerability affects jq JSON processor versions prior to commit 0c7d133c3c7e37c00b6d46b658a02244fdd3c784 in the jqlang/jq repository. All production deployments using jq for processing untrusted JSON input are vulnerable, including installations via package managers (apt, yum, brew, chocolatey), containerized deployments, embedded jq libraries in web applications, and CI/CD pipeline integrations. The issue is present in the core jq codebase regardless of platform (Linux, macOS, Windows) or installation method. Vendor advisory available at https://github.com/jqlang/jq/security/advisories/GHSA-wwj8-gxm6-jc29 provides detailed technical analysis and confirmation of affected versions.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exploits a weak hash table implementation in jq's JSON object processing engine. jq uses MurmurHash3 for internal hash table operations with a hardcoded seed value (0x432A9843) that is visible in the source code. Hash functions with static seeds are vulnerable to precomputation attacks where adversaries can calculate colliding inputs offline. In this case, an attacker can craft JSON keys that all hash to the same bucket, forcing the hash table to degrade to a linked list with O(n) lookup time. When jq processes such an object, operations that normally complete in constant time become quadratic O(n²), as each lookup must traverse the entire collision chain and jq may perform multiple lookups per operation. This is classified as CWE-328 (Use of Weak Hash) because the predictable seed enables collision prediction. The attack requires only ~100KB of crafted JSON, making it far more practical than traditional memory-based DoS attacks. The fix randomizes the hash seed per process instance, preventing offline precomputation of collisions.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-40164 is a high-severity denial-of-service vulnerability in jq JSON processor that allows unauthenticated attackers to crash services by submitting specially crafted JSON payloads of approximately 100KB. Organizations using jq in CI/CD pipelines, API gateways, or data processing workflows face operational disruption and potential service unavailability; immediate inventory and mitigation are required.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement strict input validation-reject JSON objects exceeding 50KB before jq processing; (2) Apply rate limiting to jq endpoints (max 10 requests/minute per IP); (3) Configure process-level resource limits (CPU cap at 50%, memory at 512MB) to prevent system-wide exhaustion; (4) Deploy jq in isolated containers with kill-on-timeout policies; (5) Monitor jq process CPU usage and alert on sustained >80% utilization; (6) If feasible, replace jq with alternative JSON processors pending patch availability. Track vendor security advisory for the referenced commit release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Related Vulnerabilities in jq JSON Processor Vulnerabilities
View all 2Same weakness CWE-328 – Use of Weak Hash
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SLES15-SP5-CHOST-BYOS-SAP-CCloud | Fixed |
| SLES15-SP6-CHOST-BYOS | Fixed |
| SLES15-SP6-CHOST-BYOS-Aliyun | Fixed |
| SLES15-SP6-CHOST-BYOS-Azure | Fixed |
| SLES15-SP6-CHOST-BYOS-EC2 | Fixed |
| SLES15-SP6-CHOST-BYOS-GCE | Fixed |
| SLES15-SP6-CHOST-BYOS-GDC | Fixed |
| SLES15-SP6-CHOST-BYOS-SAP-CCloud | Fixed |
| SLES15-SP7-CHOST-BYOS-Aliyun | Fixed |
| SLES15-SP7-CHOST-BYOS-Azure | Fixed |
| SLES15-SP7-CHOST-BYOS-EC2 | Fixed |
| SLES15-SP7-CHOST-BYOS-GCE | Fixed |
| SLES15-SP7-CHOST-BYOS-GDC | Fixed |
| SLES15-SP7-CHOST-BYOS-SAP-CCloud | Fixed |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Micro 5.2 | Fixed |
| SUSE Linux Enterprise Micro 5.3 | Fixed |
| SUSE Linux Enterprise Micro 5.4 | Fixed |
| SUSE Linux Enterprise Micro 5.5 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| SUSE Linux Micro 6.0 | Fixed |
| SUSE Linux Micro 6.1 | Fixed |
| SUSE Linux Micro 6.2 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SLES15-SP3-CHOST-BYOS-Aliyun | Fixed |
| SLES15-SP3-CHOST-BYOS-Azure | Fixed |
| SLES15-SP3-CHOST-BYOS-EC2 | Fixed |
| SLES15-SP3-CHOST-BYOS-GCE | Fixed |
| SLES15-SP3-CHOST-BYOS-SAP-CCloud | Fixed |
| SLES15-SP4-CHOST-BYOS | Fixed |
| SLES15-SP4-CHOST-BYOS-Aliyun | Fixed |
| SLES15-SP4-CHOST-BYOS-Azure | Fixed |
| SLES15-SP4-CHOST-BYOS-EC2 | Fixed |
| SLES15-SP4-CHOST-BYOS-GCE | Fixed |
| SLES15-SP4-CHOST-BYOS-SAP-CCloud | Fixed |
| SLES15-SP5-CHOST-BYOS-Aliyun | Fixed |
| SLES15-SP5-CHOST-BYOS-Azure | Fixed |
| SLES15-SP5-CHOST-BYOS-EC2 | Fixed |
| SLES15-SP5-CHOST-BYOS-GCE | Fixed |
| SLES15-SP5-CHOST-BYOS-GDC | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Manager Proxy 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Retail Branch Server 4.3 | Fixed |
| SUSE Manager Retail Branch Server LTS 4.3 | Fixed |
| SUSE Manager Server 4.3 | Fixed |
| SUSE Manager Server LTS 4.3 | Fixed |
| SUSE CaaS Platform 4.0 | Fixed |
| SUSE Enterprise Storage 6 | Fixed |
| SUSE Enterprise Storage 7 | Fixed |
| SUSE Enterprise Storage 7.1 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP1 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP2 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP3 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP5 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Fixed |
| SUSE Linux Enterprise Micro 5.1 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP2 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP3 | Fixed |
| SUSE Linux Enterprise Real Time 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP1 | Fixed |
| SUSE Linux Enterprise Server 15 SP1-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP2 | Fixed |
| SUSE Linux Enterprise Server 15 SP2-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP3 | Fixed |
| SUSE Linux Enterprise Server 15 SP3-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Manager Proxy 4.0 | Fixed |
| SUSE Manager Proxy 4.1 | Fixed |
| SUSE Manager Proxy 4.2 | Fixed |
| SUSE Manager Retail Branch Server 4.0 | Fixed |
| SUSE Manager Retail Branch Server 4.1 | Fixed |
| SUSE Manager Retail Branch Server 4.2 | Fixed |
| SUSE Manager Server 4.0 | Fixed |
| SUSE Manager Server 4.1 | Fixed |
| SUSE Manager Server 4.2 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
| openSUSE Leap Micro 5.2 | Fixed |
| openSUSE Leap Micro 5.3 | Fixed |
| openSUSE Leap Micro 5.4 | Fixed |
| openSUSE Leap Micro 5.5 | Fixed |
| SLES-CHOST-BYOS-Aliyun | Fixed |
| SLES-CHOST-BYOS-Azure | Fixed |
| SLES-CHOST-BYOS-EC2 | Fixed |
| SLES-CHOST-BYOS-GCE | Fixed |
| SLES-CHOST-BYOS-GDC | Fixed |
| SLES-CHOST-BYOS-SAP-CCloud | Fixed |
| containers/suse-ai-observability-extension-setup:1 rancher/elemental-channel rancher/elemental-rt-channel suse/hpc/warewulf4-x86_64/sle-hpc-node suse/sle-micro-rancher/5.2 suse/sle-micro-rancher/5.3 suse/sle-micro-rancher/5.4 suse/sle-micro/5.5 suse/sles/15.3/virt-launcher:0.45.0 | Fixed |
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB