CVE-2026-39979

EUVD-2026-22128
jq is a command-line JSON processor. In commits before 2f09060afab23fe9390cce7cb860b10416e1bf5f, the jv_parse_sized() API in libjq accepts a counted buffer with an explicit length parameter, but its error-handling path formats the input buffer using %s in jv_string_fmt(), which reads until a NUL terminator is found rather than respecting the caller-supplied length. This means that when malformed JSON is passed in a non-NUL-terminated buffer, the error construction logic performs an out-of-bounds read past the end of the buffer. The vulnerability is reachable by any libjq consumer calling jv_parse_sized() with untrusted input, and depending on memory layout, can result in memory disclosure or process termination. The issue has been patched in commit 2f09060afab23fe9390cce7cb860b10416e1bf5f.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.5 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 44.06%
Affected Products (NVD)
VendorProductVersion
jqlangjq
𝑥
< 2026-04-12
𝑥
= Vulnerable software versions
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
Red HatRed Hat Enterprise Linux 10
0:1.7.1-11.el10_1.0.2 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 10
0:1.7.1-11.el10_2.2 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support
0:1.7.1-8.el10_0.3 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 8
0:1.6-12.el8_10 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
0:1.5-12.el8_4.5 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
0:1.5-12.el8_4.5 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
0:1.6-3.el8_6.2 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service
0:1.6-3.el8_6.2 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions
0:1.6-3.el8_6.2 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service
0:1.6-6.el8_8.4 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions
0:1.6-6.el8_8.4 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 9
0:1.6-19.el9_7.0.2 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 9
0:1.6-19.el9_8.2 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions
0:1.6-12.el9_0.3 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions
0:1.6-15.el9_2.3 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support
0:1.6-16.el9_4.2 ≤
𝑥
< *
ADP
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support
0:1.6-17.el9_6.4 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift Container Platform 4.12
412.86.202606140301-0 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift Container Platform 4.13
413.92.202606160406-0 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift Container Platform 4.14
414.92.202606231112-0 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift Container Platform 4.15
415.92.202606030318-0 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift Container Platform 4.16
416.94.202606051757-0 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift Container Platform 4.17
417.94.202606250942-0 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift Container Platform 4.18
418.94.202606051320-0 ≤
𝑥
< *
ADP
Red HatRed Hat OpenShift Container Platform 4.19
4.19.9.6.202606031700-0 ≤
𝑥
< *
ADP
Red HatRed Hat AI Inference Server 3.2
1780681984 ≤
𝑥
< *
ADP
Red HatRed Hat AI Inference Server 3.3
1782352950 ≤
𝑥
< *
ADP
Red HatRed Hat AI Inference Server 3.3
1782352919 ≤
𝑥
< *
ADP
Red HatRed Hat AI Inference Server 3.3
1782353093 ≤
𝑥
< *
ADP
Red HatRed Hat AI Inference Server 3.3
1782352847 ≤
𝑥
< *
ADP
Red HatRed Hat Hardened Images
1.8.1-3.hum1 ≤
𝑥
< *
ADP
Debian logo
Debian Releases
Debian Product
Codename
jq
bookworm
1.6-2.1+deb12u2
fixed
bookworm (security)
1.6-2.1+deb12u2
fixed
bullseye
vulnerable
bullseye (security)
1.6-2.1+deb11u3
fixed
forky
1.8.2-1
fixed
sid
1.8.2-1
fixed
trixie
1.7.1-6+deb13u2
fixed
trixie (security)
1.7.1-6+deb13u3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
jq
bionic
Fixed 1.5+dfsg-2ubuntu0.1~esm2
released
focal
Fixed 1.6-1ubuntu0.20.04.1+esm2
released
jammy
Fixed 1.6-2.1ubuntu3.2
released
noble
Fixed 1.7.1-3ubuntu0.24.04.2
released
questing
Fixed 1.8.1-3ubuntu1.1
released
resolute
Fixed 1.8.1-4ubuntu2
released
trusty
Fixed 1.3-1.1ubuntu1.1+esm4
released
xenial
Fixed 1.5+dfsg-1ubuntu0.1+esm4
released
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
jq
suse enterprise desktop 15 SP7
1.6-150000.3.20.1
fixed
suse enterprise sap 15 SP7
1.6-150000.3.20.1
fixed
suse enterprise server 15 SP4
1.6-150000.3.20.1
fixed
suse enterprise server 15 SP7
1.6-150000.3.20.1
fixed
libjq-devel
suse enterprise desktop 15 SP7
1.6-150000.3.20.1
fixed
suse enterprise sap 15 SP7
1.6-150000.3.20.1
fixed
suse enterprise server 15 SP4
1.6-150000.3.20.1
fixed
suse enterprise server 15 SP7
1.6-150000.3.20.1
fixed
libjq1
suse enterprise desktop 15 SP7
1.6-150000.3.20.1
fixed
suse enterprise sap 15 SP7
1.6-150000.3.20.1
fixed
suse enterprise server 15 SP4
1.6-150000.3.20.1
fixed
suse enterprise server 15 SP7
1.6-150000.3.20.1
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
jq
RHEL 8
0:1.6-12.el8_10
fixed
RHEL 9
0:1.6-19.el9_8.2
fixed
jq-devel
RHEL 8
0:1.6-12.el8_10
fixed
RHEL 9
0:1.6-19.el9_8.2
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
jq
Amazon Linux 2
0:1.6-17.amzn2.0.1
fixed
Amazon Linux 2023
0:1.8.1-59.amzn2023
fixed
jq-debuginfo
Amazon Linux 2
0:1.6-17.amzn2.0.1
fixed
Amazon Linux 2023
0:1.8.1-59.amzn2023
fixed
jq-debugsource
Amazon Linux 2023
0:1.8.1-59.amzn2023
fixed
jq-devel
Amazon Linux 2
0:1.6-17.amzn2.0.1
fixed
Amazon Linux 2023
0:1.8.1-59.amzn2023
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
jq
Azure Linux 3.0
0:1.7.1-5.azl3
fixed
References