CVE-2026-43894: CWE-190: Integer Overflow or Wraparound in jqlang jq
CVE-2026-43894 is an integer overflow vulnerability in jq versions 1.8.1 and earlier. The vulnerability occurs when processing a very large number literal, causing a signed integer overflow that bypasses heap allocation checks and leads to a large buffer write on the stack with attacker-controlled data. This can result in a denial of service due to stack corruption. No patch or official remediation is currently confirmed.
AI Analysis
Technical Summary
jq, a command-line JSON processor, has an integer overflow vulnerability (CWE-190) in versions up to 1.8.1. When the function decNumberFromString processes a number literal with INT_MAX-1 digits (2147483646 digits), the D2U() macro overflows during signed integer arithmetic. This overflow causes the size check for heap allocation to be bypassed, leading the function to use a small 30-byte stack buffer instead. Subsequently, approximately 715 million 16-bit units (~1.4 GiB) are written at an offset 1.43 GiB below the stack frame. The data written is fully attacker-controlled, which can cause significant stack corruption and denial of service.
Potential Impact
The vulnerability allows an attacker to cause a large buffer write on the stack with attacker-controlled data, leading to potential denial of service through stack corruption. The CVSS score is 6.2 (medium severity) with no confidentiality or integrity impact, but high availability impact. There are no known exploits in the wild, and no indication of remote exploitation without local access.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted JSON inputs with extremely large numeric literals in jq versions 1.8.1 and earlier. Monitor vendor channels for updates or official patches.
CVE-2026-43894: CWE-190: Integer Overflow or Wraparound in jqlang jq
Description
CVE-2026-43894 is an integer overflow vulnerability in jq versions 1.8.1 and earlier. The vulnerability occurs when processing a very large number literal, causing a signed integer overflow that bypasses heap allocation checks and leads to a large buffer write on the stack with attacker-controlled data. This can result in a denial of service due to stack corruption. No patch or official remediation is currently confirmed.
CVSS v3.1
Score 6.2medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
jq, a command-line JSON processor, has an integer overflow vulnerability (CWE-190) in versions up to 1.8.1. When the function decNumberFromString processes a number literal with INT_MAX-1 digits (2147483646 digits), the D2U() macro overflows during signed integer arithmetic. This overflow causes the size check for heap allocation to be bypassed, leading the function to use a small 30-byte stack buffer instead. Subsequently, approximately 715 million 16-bit units (~1.4 GiB) are written at an offset 1.43 GiB below the stack frame. The data written is fully attacker-controlled, which can cause significant stack corruption and denial of service.
Potential Impact
The vulnerability allows an attacker to cause a large buffer write on the stack with attacker-controlled data, leading to potential denial of service through stack corruption. The CVSS score is 6.2 (medium severity) with no confidentiality or integrity impact, but high availability impact. There are no known exploits in the wild, and no indication of remote exploitation without local access.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted JSON inputs with extremely large numeric literals in jq versions 1.8.1 and earlier. Monitor vendor channels for updates or official patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T15:17:09.330Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a021aa7cbff5d861043052b
Added to database: 05/11/2026, 18:06:31 UTC
Last enriched: 06/03/2026, 21:13:54 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 89
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.