Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-43894: CWE-190: Integer Overflow or Wraparound in jqlang jq

0
Medium
VulnerabilityCVE-2026-43894cvecve-2026-43894cwe-190
Published: Mon May 11 2026 (05/11/2026, 17:20:06 UTC)
Source: CVE Database V5
Vendor/Project: jqlang
Product: jq

Description

jq is a command-line JSON processor. In 1.8.1 and earlier, when decNumberFromString is given a number literal of INT_MAX-1 (2147483646) digits, the D2U() macro overflows during signed-int arithmetic. The wrapped negative value bypasses the heap-allocation size check, causes the function to use a 30-byte stack buffer, and then writes ≈715 million 16-bit units (≈1.4 GiB) at an offset 1.43 GiB below the stack frame. The written content is fully attacker-controlled (the parsed decimal digits, packed 3-per-unit).

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/11/2026, 18:23:38 UTC

Technical Analysis

jq, a command-line JSON processor, suffers from an integer overflow in the decNumberFromString function when handling extremely large number literals (INT_MAX-1 digits). The D2U() macro overflows signed-int arithmetic, resulting in a wrapped negative value that bypasses heap allocation size checks. Consequently, the function uses a small stack buffer (30 bytes) but writes approximately 1.4 GiB of attacker-controlled data at a large negative offset relative to the stack frame. This can cause a significant stack-based buffer overflow and potential denial of service. The vulnerability affects jq versions up to and including 1.8.1.

Potential Impact

The vulnerability can lead to a denial of service due to a large stack buffer overflow with attacker-controlled data. There is no indication from the provided data that confidentiality or integrity are impacted. No known exploits are reported in the wild. The CVSS vector indicates local attack vector with low complexity and no privileges or user interaction required, but only availability impact is noted.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid processing untrusted JSON inputs with jq versions 1.8.1 and earlier. Monitor vendor channels for updates regarding patches or workarounds.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 5/11/2026, 6:06:31 PM

Last enriched: 5/11/2026, 6:23:38 PM

Last updated: 5/12/2026, 3:39:11 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses