CVE Database›Document archive›CVE-2026-33947

CVE-2026-33947

jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted()

Loading…

Severity

Moderate

Red Hat Product Security

6.2

CVSS 3.1

Review impact separately from score.

Published · April 14, 2026

Updated · July 3, 2026

Description

A flaw was found in jq, a command line JSON processor. Processing a crafted JSON document, specifically when a large array is used as a path argument to the jv_setpath, jv_getpath and delpaths_sorted functions can lead to an uncontrolled recursion and exhausts the call stack, causing an application crash and resulting in a denial of service.

Statement

To exploit this issue, an attacker needs to supply a crafted JSON input to be processed by jq with the setpath, getpath or delpaths builtins. This allows the attacker to cause an application crash with no other security impact. Due to these reasons, this flaw has been rated with a moderate severity.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Do not process untrusted input with the jq command line JSON processor.

CVSS / CWE

CVSS 3.1 · 6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CWE-674 · Uncontrolled Recursion