PT-2026-32541 · Jq+2 · Jq+2

Bg0D-Glitch

·

Published

2026-04-13

·

Updated

2026-05-24

·

CVE-2026-33947

CVSS v3.1

6.2

Medium

VectorAV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions jq versions 1.8.1 and earlier
Description A command-line JSON processor is subject to a denial of service. The functions jv setpath(), jv getpath(), and delpaths sorted() in src/jv aux.c use unbounded recursion where the depth is controlled by the length of a caller-supplied path array. An attacker can supply a JSON document containing a flat array of approximately 65,000 integers that exhausts the C call stack, resulting in a segmentation fault (SIGSEGV) and a process crash. This occurs because the MAX PARSING DEPTH limit only protects the JSON parser and not runtime path operations.
Recommendations Apply the fix provided in commit fb59f1491058d58bdc3e8dd28f1773d1ac690a1f. Restrict the use of setpath, getpath, and delpaths builtins when processing untrusted JSON input to minimize the risk of exploitation.

Exploit

Fix

DoS

Uncontrolled Recursion

Weakness Enumeration

Related Identifiers

BDU:2026-05501
CVE-2026-33947
ECHO-A573-F4D9-1605
OESA-2026-1981
OPENSUSE-SU-2026:10850-1
RHSA-2026:8579
USN-8202-1
USN-8202-2

Affected Products

Linuxmint
Ubuntu
Jq