Skip to main content

jq CVE-2026-43896

| EUVDEUVD-2026-29174 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-05-11 GitHub_M
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts malicious jq filter
  2. Delivery
    Supplies filter to jq process
  3. Exploit
    Filter executes * operator on nested objects
  4. Execution
    Recursive merge function called unbounded
  5. Persist
    Stack overflow occurs
  6. Impact
    Process crashes with segfault

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires the ability to supply or influence a jq program/filter that will be executed by a jq process. The vulnerability is triggered specifically when the jq * (object multiplication) operator is applied to nested object structures with sufficient depth or recursion to exceed call stack limits. No authentication is required; no special jq configuration is needed. The condition is purely program-dependent: any jq filter containing unbounded recursive object merging via * will trigger the crash. Systems where jq processes only internally-generated or highly-restricted filters face minimal risk; systems accepting user-supplied filters face high risk. Non-default configurations do not protect against this vulnerability.

Impact

CVSS 6.2 with AV:L/AC:L/PR:N/UI:N/S:U indicates local attack vector, low complexity, no privilege or user interaction required, and availability impact only (no confidentiality or integrity compromise). The denial-of-service impact is significant for systems processing untrusted jq programs or filters, such as data processing pipelines, API gateways using jq for request transformation, or any automation consuming user-supplied filter logic. EPSS data not provided, but the combination of low attack complexity, no authentication barriers, and confirmed vulnerability class (CWE-674 uncontrolled recursion) suggests moderate exploitability in real deployments. The local-only attack vector limits exposure compared to network-facing vulnerabilities, but does not eliminate risk in multi-tenant or batch-processing environments where jq filters are supplied by untrusted sources. KEV status not provided; POC availability not confirmed in input data, but the straightforward nature of crafting deeply nested object structures makes functional proof-of-concept trivial.

Exploit ScenarioDerived

An attacker crafts a jq filter program containing nested object multiplication, such as recursively defined objects multiplied via the * operator. When a system processes this filter (e.g., a web service accepting jq filters as query parameters, or a batch job processing user-provided filter scripts), jq enters unbounded recursion, exhausts stack memory, and crashes with a segmentation fault, disrupting service availability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Unbounded recursion in jq 1.8.1 and earlier causes denial of service via crafted jq programs using the * operator on nested objects, resulting in process crash with segmentation fault. Local attackers can exploit this vulnerability without authentication to crash jq processes, affecting any system processing untrusted jq filter logic.

RemediationAI

Upgrade to jq 1.8.2 or later, which includes fixes for unbounded recursion in jv_object_merge_recursive(). If immediate upgrade is not feasible, implement input validation by restricting or sanitizing jq filter programs to exclude nested object multiplication operations on untrusted input, or run jq in isolated processes with resource limits (ulimit -s to cap stack size) to contain crash impact. Refer to GitHub security advisory GHSA-mg96-6h3q-g846 for patched version availability and additional mitigation guidance. The stack limit mitigation trades processing capability (may reject legitimate deep-nesting filters) but prevents system-wide impact of a single jq crash.

Affected VersionsENISA

jq ≤ 1.8.1

Affected Packages

euvd jq no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the jv_object_merge_recursive() function within jq's object merging logic. CWE-674 (Uncontrolled Recursion) indicates the root cause: the function lacks proper depth limits or cycle detection when recursively merging nested object structures. The * operator in jq performs object multiplication (merge operation), and when both operands are deeply nested objects with recursive references or complex nesting patterns, the function enters unbounded recursion, exhausting the call stack and triggering a segmentation fault. This affects the jq command-line processor (cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*) across all versions up to and including 1.8.1.

Know when Jq gets its next vulnerability

  • 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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Oct 26, 2026 - 18:23 NVD
6.2 (MEDIUM) 5.5 (MEDIUM)
CVE Published
May 11, 2026 - 17:24 nvd
MEDIUM 6.2

DescriptionNVD

jq is a command-line JSON processor. In 1.8.1 and earlier, unbounded recursion in jv_object_merge_recursive() allows a crafted jq program to crash the process with a segfault. The function is reachable through the * operator when both operands are objects.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Jq

View all
CVE-2024-53427 HIGH POC
8.1 Feb 26

decNumberCopy in decNumber.c in jq through 1.7.1 does not properly consider that NaN is interpreted as numeric, which ha

CVE-2015-8863 CRITICAL
9.8 May 06

Off-by-one error in the tokenadd function in jv_parse.c in jq allows remote attackers to cause a denial of service (cras

CVE-2025-48060 HIGH POC
7.7 May 21

jq is a command-line JSON processor. Rated high severity (CVSS 7.7), this vulnerability is remotely exploitable, no auth

CVE-2016-4074 HIGH POC
7.5 May 06

The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and applicat

CVE-2023-49355 HIGH POC
7.5 Dec 11

decToString in decNumber/decNumber.c in jq 88f01a7 has a one-byte out-of-bounds write via the " []-1.2e-1111111111" inpu

CVE-2023-50268 MEDIUM POC
5.5 Dec 13

jq is a command-line JSON processor. Rated medium severity (CVSS 5.5), this vulnerability is low attack complexity. Publ

CVE-2023-50246 MEDIUM POC
5.5 Dec 13

jq is a command-line JSON processor. Rated medium severity (CVSS 5.5), this vulnerability is low attack complexity. Publ

CVE-2026-32316 HIGH
7.5 Apr 13

A heap-based buffer overflow in jqlang/jq through version 1.8.1 allows remote, unauthenticated attackers to crash - and

CVE-2026-49839 HIGH
7.1

Out-of-bounds write in the jq command-line JSON processor (CWE-787) lets a crafted JSON input corrupt memory when parsed

CVE-2026-54679 MEDIUM
6.9

jq, the command-line JSON processor, was patched in Alpine Linux with package version 1.8.2-r0. The specific vulnerabili

CVE-2026-39979 MEDIUM
6.9 Apr 13

Out-of-bounds read in libjq's jv_parse_sized() API exposes any embedding application to memory disclosure or process ter

CVE-2026-47770 MEDIUM
6.8

jq on Alpine Linux was patched in package version 1.8.2-r0, addressing an unspecified vulnerability. The nature of the f

Vendor StatusVendor

SUSE

Severity: Medium
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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy