CVE-2026-33947
published 2026-04-13CVE-2026-33947: jq is a command-line JSON processor. In versions 1.8.1 and below, functions jv_setpath(), jv_getpath(), and delpaths_sorted() in jq's src/jv_aux.c use…
PriorityP427medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
14.2th percentile
jq is a command-line JSON processor. In versions 1.8.1 and below, functions jv_setpath(), jv_getpath(), and delpaths_sorted() in jq's src/jv_aux.c use unbounded recursion whose depth is controlled by the length of a caller-supplied path array, with no depth limit enforced. An attacker can supply a JSON document containing a flat array of ~65,000 integers (~200 KB) that, when used as a path argument by a trusted jq filter, exhausts the C call stack and crashes the process with a segmentation fault (SIGSEGV). This bypass works because the existing MAX_PARSING_DEPTH (10,000) limit only protects the JSON parser, not runtime path operations where arrays can be programmatically constructed to arbitrary lengths. The impact is denial of service (unrecoverable crash) affecting any application or service that processes untrusted JSON input through jq's setpath, getpath, or delpaths builtins. This issue has been addressed in commit fb59f1491058d58bdc3e8dd28f1773d1ac690a1f.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| jqlang | jq | < fb59f1491058d58bdc3e8dd28f1773d1ac690a1f | fb59f1491058d58bdc3e8dd28f1773d1ac690a1f |
| jqlang | jq | <= 1.8.1 | — |
| ubuntu | jq | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vendor_ubuntu8.2HIGH
vendor_redhat6.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
jq regression
vendor_ubuntu·2026-05-21·CVSS 7.5
CVE-2026-40164 [HIGH] jq regression
Title: jq regression
Summary: USN-8202-1 introduced a regression in jq
USN-8202-1 fixed vulnerabilities in jq. The update caused a regression
for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that jq did not correctly handle certain string
concatenations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. This issue was addressed in Ubuntu
16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu
24.04 LTS and Ubuntu 25.10. (CVE-2026-32316)
It was discovered that jq did not correctly handle recursion in certain
circumstances. An attacker could possibly use this issue to cause a denial
of service. (CVE-2026-33947)
It was
Ubuntu
jq vulnerabilities
vendor_ubuntu·2026-04-28·CVSS 8.2
CVE-2026-33948 [HIGH] jq vulnerabilities
Title: jq vulnerabilities
Summary: Several security issues were fixed in jq.
USN-8202-1 fixed vulnerabilities in jq. This update provides the
corresponding update to Ubuntu 26.04 LTS.
Original advisory details:
It was discovered that jq did not correctly handle certain string
concatenations. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. (CVE-2026-32316)
It was discovered that jq did not correctly handle recursion in certain
circumstances. An attacker could possibly use this issue to cause a denial
of service. (CVE-2026-33947)
It was discovered that jq did not correctly handle improperly terminated
strings. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. (CVE-2026-33948)
It was disco
Ubuntu
jq vulnerabilities
vendor_ubuntu·2026-04-23·CVSS 8.2
CVE-2026-32316 [HIGH] jq vulnerabilities
Title: jq vulnerabilities
Summary: Several security issues were fixed in jq.
It was discovered that jq did not correctly handle certain string
concatenations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. This issue was addressed in Ubuntu
16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu
24.04 LTS and Ubuntu 25.10. (CVE-2026-32316)
It was discovered that jq did not correctly handle recursion in certain
circumstances. An attacker could possibly use this issue to cause a denial
of service. (CVE-2026-33947)
It was discovered that jq did not correctly handle improperly terminated
strings. An attacker could possibly use this issue to cause a denial of
service or execute arbitrary code. This issue was addressed in Ubu
Red Hat
jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted()
vendor_redhat·2026-04-13·CVSS 6.2
CVE-2026-33947 [MEDIUM] CWE-674 jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted()
jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted()
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.
Mitigation: Do not process untrusted input with the jq
VulDB
jqlang jq up to 1.8.1 src/jv_aux.c jv_setpath/jv_getpath/delpaths_sorted path recursion (GHSA-xwrw-4f8h-rjvg / Nessus ID 307501)
vuldb·2026-04-20·CVSS 6.2
CVE-2026-33947 [MEDIUM] jqlang jq up to 1.8.1 src/jv_aux.c jv_setpath/jv_getpath/delpaths_sorted path recursion (GHSA-xwrw-4f8h-rjvg / Nessus ID 307501)
A vulnerability categorized as problematic has been discovered in jqlang jq up to 1.8.1. The impacted element is the function jv_setpath/jv_getpath/delpaths_sorted of the file src/jv_aux.c. Executing a manipulation of the argument path can lead to uncontrolled recursion.
This vulnerability is tracked as CVE-2026-33947. The attack is restricted to local execution. No exploit exists.
Applying a patch is advised to resolve this issue.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-33947 jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted() [fedora-all]
bugzilla·2026-04-14·CVSS 6.2
CVE-2026-33947 [MEDIUM] CVE-2026-33947 jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted() [fedora-all]
CVE-2026-33947 jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted() [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-33947 jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted()
bugzilla·2026-04-13·CVSS 6.2
CVE-2026-33947 [MEDIUM] CVE-2026-33947 jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted()
CVE-2026-33947 jq: unbounded Recursion in jv_setpath() / jv_getpath() / delpaths_sorted()
jq is a command-line JSON processor. In versions 1.8.1 and below, functions jv_setpath(), jv_getpath(), and delpaths_sorted() in jq's src/jv_aux.c use unbounded recursion whose depth is controlled by the length of a caller-supplied path array, with no depth limit enforced. An attacker can supply a JSON document containing a flat array of ~65,000 integers (~200 KB) that, when used as a path argument by a trusted jq filter, exhausts the C call stack and crashes the process with a segmentation fault (SIGSEGV). This bypass works because the existing MAX_PARSING_DEPTH (10,000) limit only protects the JSON parser, not runtime path operations where arrays can be programmatically constructed to arbitrary len
2026-04-13
Published