Skip to main content

jq CVE-2026-44777

| EUVDEUVD-2026-29177 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-05-11 GitHub_M
5.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Craft malicious jq script with circular module imports
  2. Delivery
    Deliver script to target user (email, repository, build artifact)
  3. Exploit
    Target executes jq with script
  4. Install
    Module loader encounters cycle
  5. C2
    Infinite recursion in parser
  6. Execute
    Stack exhaustion
  7. Impact
    Process crash or hang

Vulnerability Assessment

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

User interaction is required - an attacker cannot trigger this remotely without user action. The vulnerability manifests only when: (1) jq is invoked with a program/filter containing import or include directives, (2) those directives create a cycle (direct A→B→A or transitive A→B→C→A), and (3) the module loader attempts to resolve the cycle. Default jq configurations without custom modules are not vulnerable; the attacker must either provide malicious module files accessible to jq's module search path or trick a user into loading them. Non-vulnerable scenarios include: jq filters with no import/include statements, jq versions 1.8.2 or later (once available), and jq instances running in restricted environments that prohibit module loading. The vulnerability does NOT require authentication, special privileges, or network access - a local, unprivileged user can craft a malicious script and execute it. However, practical exploitation depends on user trust or control over the module namespace.

Impact

CVSS 5.4 with AV:L (local attack vector) and UI:P (user interaction required) limits real-world blast radius. The CVSS vector shows VA:H (high availability impact) but no confidentiality or integrity impact (VC:N/VI:N). Exploitation requires either: (1) a local user tricking another user into executing a malicious jq script containing circular module dependencies, or (2) a web service that dynamically processes user-supplied jq programs and loads modules. The local-only attack vector and mandatory user interaction make this a low priority for internet-facing services but relevant for: desktop tools processing untrusted jq scripts, build pipelines executing arbitrary jq, and any service that accepts user-supplied jq filter code. No KEV listing and no public POC reduces empirical exploitation likelihood, though the attack is trivial to construct once the vulnerability is known. EPSS scoring not provided; however, the AV:L/UI:P profile suggests below-average real-world exploitation probability despite moderate CVSS.

Exploit ScenarioDerived

A local user creates a malicious jq script file containing two circular module imports (e.g., module-a.jq imports module-b.jq, and module-b.jq imports module-a.jq) and tricks a colleague into executing it via jq -f malicious.jq < data.json. The jq process enters infinite recursion during module loading, consuming all available stack memory within seconds, crashing the process and potentially destabilizing the system. Alternatively, a web service that accepts user-provided jq filter expressions as input (e.g., a data transformation API) loads a filter containing circular module dependencies, causing the service process to hang and require manual restart.

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

jq 1.8.2rc1 and earlier suffers from infinite recursion in the module loader when two modules include each other circularly, causing denial of service through resource exhaustion. The vulnerability requires user interaction (loading a crafted jq script with circular module dependencies) on local systems. CVSS 5.4 (CVSS:4.0/AV:L/AC:L/PR:N/UI:P) reflects availability impact only; no remote exploitation vector exists. No public exploit code or active exploitation reported at time of analysis.

RemediationAI

Upgrade jq to version 1.8.2 or later once released by the jqlang project. Immediate patch availability is not confirmed from input data; check the GitHub security advisory at https://github.com/jqlang/jq/security/advisories/GHSA-rmpv-jgvr-wpr9 for the exact patched release version and timeline. As a temporary workaround for systems processing untrusted jq scripts, disable the module loading feature by running jq with appropriate command-line flags (if available in your version) or sandboxing execution in containers with strict resource limits (memory and CPU cgroups) to prevent denial of service. For web services accepting user-supplied jq filters, implement a whitelist of allowed jq operations and explicitly disable or restrict the import/include directives; note this may break legitimate module-based workflows. Run jq processes with resource limits (ulimit -m, ulimit -s) to cap memory and stack usage, mitigating (but not preventing) the infinite recursion impact.

Affected VersionsENISA

jq ≤ 1.8.2rc1

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

jq's module loader (CWE-674: Uncontrolled Recursion) implements dynamic module inclusion via import/include directives without maintaining a visited-modules set or recursion-depth limit. When module A includes module B, and module B includes module A, the loader enters infinite recursion, exhausting stack memory and process resources. The vulnerability exists in the module resolution logic that processes import statements during jq program parsing and execution, affecting both explicit circular dependencies and transitive cycles through intermediate modules.

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

Vendor (GitHub_M) PRIMARY 5.4 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 11, 2026 - 18:22 NVD
5.4 (MEDIUM)
CVE Published
May 11, 2026 - 17:23 nvd
MEDIUM 5.4

DescriptionCVE.org

jq is a command-line JSON processor. In 1.8.2rc1 and earlier, the ordinary module loader recurses without cycle detection when two otherwise valid modules include each other.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% 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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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