CVE-2026-40612

EUVD-2026-29161
jq is a command-line JSON processor. In 1.8.1 and earlier, jv_contains recurses into nested arrays/objects with no depth limit. With a sufficiently nested input structure (built programmatically with reduce, since the JSON parser caps at depth 10000), the C stack is exhausted.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 4.01%
Affected Products (NVD)
VendorProductVersion
jqlangjq
𝑥
≤ 1.8.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
jq
bookworm
unimportant
bookworm (security)
unimportant
forky
1.8.2-1
fixed
sid
1.8.2-1
fixed
trixie
1.7.1-6+deb13u3
fixed
trixie (security)
1.7.1-6+deb13u3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
jq
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
trusty
needs-triage
xenial
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
jq
suse enterprise desktop 15 SP7
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP4
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP5
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP6
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP7
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP4
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP5
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP6
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP7
1.7.1-150000.3.25.1
fixed
libjq-devel
suse enterprise desktop 15 SP7
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP4
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP5
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP6
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP7
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP4
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP5
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP6
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP7
1.7.1-150000.3.25.1
fixed
libjq1
suse enterprise desktop 15 SP7
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP4
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP5
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP6
1.7.1-150000.3.25.1
fixed
suse enterprise sap 15 SP7
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP4
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP5
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP6
1.7.1-150000.3.25.1
fixed
suse enterprise server 15 SP7
1.7.1-150000.3.25.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
jq
Azure Linux 3.0
0:1.7.1-6.azl3
fixed