Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-39979

Fixed in a distro release EPSS <1%CVSS 6.9

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.

Published 2026-04-13 · CVE record · OSV

Products: jqlang jq, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On, Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Telecommunications Update Service, Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.8 Telecommunications Update Service, Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Extended Update Support, Red Hat Enterprise Linux 9.6 Extended Update Support, Red Hat OpenShift Container Platform 4.12, Red Hat OpenShift Container Platform 4.13, Red Hat OpenShift Container Platform 4.14, Red Hat OpenShift Container Platform 4.15, Red Hat OpenShift Container Platform 4.16, Red Hat OpenShift Container Platform 4.17, Red Hat OpenShift Container Platform 4.18, Red Hat OpenShift Container Platform 4.19, Red Hat AI Inference Server 3.2, Red Hat AI Inference Server 3.3, Red Hat Hardened Images, Red Hat Ansible Automation Platform 2, Red Hat Ceph Storage 4

Distro releases

ReleasePackageFixed in
AlmaLinux 10jq1.7.1-11.el10_2.2
AlmaLinux 10jq1.7.1-11.el10_1.0.2
AlmaLinux 10jq-devel1.7.1-11.el10_1.0.2
AlmaLinux 10jq-devel1.7.1-11.el10_2.2
AlmaLinux 8jq1.6-12.el8_10
AlmaLinux 8jq-devel1.6-12.el8_10
AlmaLinux 9jq1.6-19.el9_8.2
AlmaLinux 9jq1.6-19.el9_7.0.2
AlmaLinux 9jq-devel1.6-19.el9_7.0.2
AlmaLinux 9jq-devel1.6-19.el9_8.2
Alpine 3.22jq1.8.2-r0
Alpine 3.23jq1.8.2-r0
Alpine 3.24jq1.8.2-r0
Debian 12jq1.6-2.1+deb12u2
Debian 13jq1.7.1-6+deb13u2
Debian 14jq1.8.1-5
Red Hat Enterprise Linux 10.1jq0:1.7.1-11.el10_1.0.2
Red Hat Enterprise Linux 10.1jq-debuginfo0:1.7.1-11.el10_1.0.2
Red Hat Enterprise Linux 10.1jq-debugsource0:1.7.1-11.el10_1.0.2
Red Hat Enterprise Linux 10.1jq-devel0:1.7.1-11.el10_1.0.2
Red Hat Enterprise Linux 10.2jq0:1.7.1-11.el10_2.2
Red Hat Enterprise Linux 10.2jq-debuginfo0:1.7.1-11.el10_2.2
Red Hat Enterprise Linux 10.2jq-debugsource0:1.7.1-11.el10_2.2
Red Hat Enterprise Linux 10.2jq-devel0:1.7.1-11.el10_2.2
Red Hat Enterprise Linux 8jq0:1.6-12.el8_10
Red Hat Enterprise Linux 8jq-debuginfo0:1.6-12.el8_10
Red Hat Enterprise Linux 8jq-debugsource0:1.6-12.el8_10
Red Hat Enterprise Linux 8jq-devel0:1.6-12.el8_10
Red Hat Enterprise Linux 9jq0:1.6-19.el9_7.0.2
Red Hat Enterprise Linux 9jq0:1.6-19.el9_8.2
Red Hat Enterprise Linux 9jq-debuginfo0:1.6-19.el9_8.2
Red Hat Enterprise Linux 9jq-debuginfo0:1.6-19.el9_7.0.2
Red Hat Enterprise Linux 9jq-debugsource0:1.6-19.el9_8.2
Red Hat Enterprise Linux 9jq-debugsource0:1.6-19.el9_7.0.2
Red Hat Enterprise Linux 9jq-devel0:1.6-19.el9_7.0.2
Red Hat Enterprise Linux 9jq-devel0:1.6-19.el9_8.2
Red Hat Enterprise Linux eus 10.0jq0:1.7.1-8.el10_0.3
Red Hat Enterprise Linux eus 10.0jq-debuginfo0:1.7.1-8.el10_0.3
Red Hat Enterprise Linux eus 10.0jq-debugsource0:1.7.1-8.el10_0.3
Red Hat Enterprise Linux eus 10.0jq-devel0:1.7.1-8.el10_0.3
Red Hat hummingbird 1jq0:1.8.1-3.hum1
Red Hat hummingbird 1jq-devel0:1.8.1-3.hum1
Red Hat rhel aus 8.4jq0:1.5-12.el8_4.5
Red Hat rhel aus 8.4jq-debuginfo0:1.5-12.el8_4.5
Red Hat rhel aus 8.4jq-debugsource0:1.5-12.el8_4.5
Red Hat rhel aus 8.6jq0:1.6-3.el8_6.2
Red Hat rhel aus 8.6jq-debuginfo0:1.6-3.el8_6.2
Red Hat rhel aus 8.6jq-debugsource0:1.6-3.el8_6.2
Red Hat rhel e4s 8.6jq0:1.6-3.el8_6.2
Red Hat rhel e4s 8.6jq-debuginfo0:1.6-3.el8_6.2
Red Hat rhel e4s 8.6jq-debugsource0:1.6-3.el8_6.2
Red Hat rhel e4s 8.8jq0:1.6-6.el8_8.4
Red Hat rhel e4s 8.8jq-debuginfo0:1.6-6.el8_8.4
Red Hat rhel e4s 8.8jq-debugsource0:1.6-6.el8_8.4
Red Hat rhel e4s 9.0jq0:1.6-12.el9_0.3
Red Hat rhel e4s 9.0jq-debuginfo0:1.6-12.el9_0.3
Red Hat rhel e4s 9.0jq-debugsource0:1.6-12.el9_0.3
Red Hat rhel e4s 9.2jq0:1.6-15.el9_2.3
Red Hat rhel e4s 9.2jq-debuginfo0:1.6-15.el9_2.3
Red Hat rhel e4s 9.2jq-debugsource0:1.6-15.el9_2.3
Red Hat rhel eus 9.4jq0:1.6-16.el9_4.2
Red Hat rhel eus 9.4jq-debuginfo0:1.6-16.el9_4.2
Red Hat rhel eus 9.4jq-debugsource0:1.6-16.el9_4.2
Red Hat rhel eus 9.4jq-devel0:1.6-16.el9_4.2
Red Hat rhel eus 9.6jq0:1.6-17.el9_6.4
Red Hat rhel eus 9.6jq-debuginfo0:1.6-17.el9_6.4
Red Hat rhel eus 9.6jq-debugsource0:1.6-17.el9_6.4
Red Hat rhel eus 9.6jq-devel0:1.6-17.el9_6.4
Red Hat rhel eus long life 8.4jq0:1.5-12.el8_4.5
Red Hat rhel eus long life 8.4jq-debuginfo0:1.5-12.el8_4.5
Red Hat rhel eus long life 8.4jq-debugsource0:1.5-12.el8_4.5
Red Hat rhel tus 8.6jq0:1.6-3.el8_6.2
Red Hat rhel tus 8.6jq-debuginfo0:1.6-3.el8_6.2
Red Hat rhel tus 8.6jq-debugsource0:1.6-3.el8_6.2
Red Hat rhel tus 8.8jq0:1.6-6.el8_8.4
Red Hat rhel tus 8.8jq-debuginfo0:1.6-6.el8_8.4
Red Hat rhel tus 8.8jq-debugsource0:1.6-6.el8_8.4
Rocky Linux 10jq0:1.7.1-11.el10_1.0.2
Rocky Linux 10jq0:1.7.1-11.el10_2.2
Rocky Linux 8jq0:1.6-12.el8_10
Rocky Linux 9jq0:1.6-19.el9_7.0.2
Rocky Linux 9jq0:1.6-19.el9_8.2
SUSE Linux Enterprise Micro 5.3jq1.6-150000.3.20.1
SUSE Linux Enterprise Micro 5.4jq1.6-150000.3.20.1
SUSE Linux Enterprise Micro 5.5jq1.6-150000.3.20.1
SUSE Linux Enterprise Module for Basesystem 15 SP7jq1.6-150000.3.20.1
SUSE Linux Enterprise Server 16.0jq1.7.1-160000.3.1
SUSE Linux Enterprise Server for SAP applications 16.0jq1.7.1-160000.3.1
SUSE Linux Micro 6.0jq1.6-6.1
SUSE Linux Micro 6.1jq1.7.1-slfo.1.1_3.1
SUSE Linux Micro 6.2jq1.7.1-160000.3.1
Ubuntu 22.04 LTSjq1.6-2.1ubuntu3.2
Ubuntu 24.04 LTSjq1.7.1-3ubuntu0.24.04.2
Ubuntu 25.10jq1.8.1-3ubuntu1.1
Ubuntu 26.04 LTSjq1.8.1-4ubuntu2
Ubuntu Pro 14.04 LTSjq1.3-1.1ubuntu1.1+esm4
Ubuntu Pro 16.04 LTSjq1.5+dfsg-1ubuntu0.1+esm4
Ubuntu Pro 18.04 LTSjq1.5+dfsg-2ubuntu0.1~esm2
Ubuntu Pro 20.04 LTSjq1.6-1ubuntu0.20.04.1+esm2
openSUSE Leap 16.0jq1.7.1-160000.3.1
openSUSE Tumbleweedjq1.8.1-3.1