← Vulnerability feed

Vulnerability record · CVE-2026-39979 · published 13 April 2026

CVE-2026-39979: Jqlang jq out-of-bounds read vulnerability

Jqlang · Jq

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.

6.9 CVSS 4.0 Medium EPSS 0.58% · top 51.6% CWE-125 · Out-of-bounds read
6.9CVSS 4.0 base score
0.58%EPSS exploitation probability, 30 days
NoNot in CISA KEV
14Affected product versions listed by NVD
33References, 2 tagged exploit
26 Oct 2026Last modified by NVD

Description

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.

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

14 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/jqlang/jq/commit/2f09060afab23fe9390cce7cb860b10416e1bf5f Patch
https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355p ExploitVendor Advisory
https://access.redhat.com/errata/RHSA-2026:16252 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:16692 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:16693 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:18040 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:18042 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:18043 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:18044 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:18045 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:18046 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:18047 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:18048 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:19151 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:19365 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:23233 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:23245 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:25044 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:25096 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:25181 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:26528 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:26542 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:28887 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:30078 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:30087 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:30088 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:30089 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:34098 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:8579 Third Party Advisory
https://access.redhat.com/security/cve/CVE-2026-39979 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2458077 Issue TrackingThird Party Advisory
https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355p ExploitVendor Advisory
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39979.json Third Party Advisory

Track CVE-2026-39979 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2019-8720WebKit memory corruption allows code execution via crafted web contentWebKit contains multiple memory corruption issues in memory handling that are triggered when processing maliciously crafted web content. Successful e…KEVEPSS 1.6%analysed7.8CVE-2023-4911GNU C Library ld.so GLIBC_TUNABLES heap buffer overflowThe GNU C Library dynamic loader ld.so mishandles the GLIBC_TUNABLES environment variable, causing a heap-based buffer overflow and out-of-bounds wri…KEVEPSS 64%analysed7.8CVE-2022-0847Linux kernel pipe buffer flaw allows local privilege escalationThe flags member of the new pipe buffer structure was not properly initialized in copy_page_to_iter_pipe and push_pipe, so it could hold stale values…KEVEPSS 93%analysed7.8CVE-2022-0492Linux kernel cgroups v1 release_agent privilege escalation and container escapeThe Linux kernel's cgroup_release_agent_write in kernel/cgroup/cgroup-v1.c mishandles authorization, letting the cgroups v1 release_agent feature be …KEVEPSS 5.5%analysed7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed6.5CVE-2026-48710Starlette Host header validation flaw enables request.url path mismatchStarlette before 1.0.1 did not validate the HTTP Host header before using it to rebuild request.url, so a malformed Host value could make request.url…KEVEPSS 70%analysed9.8CVE-2022-26148Grafana Zabbix integration exposes cleartext password in page sourceGrafana through 7.3.4, when integrated with Zabbix, embeds the Zabbix account password and URL in the HTML source of api_jsonrpc.php. Anyone who can …EPSS 53%analysed9.8CVE-2021-20236Zeromq classic buffer overflow vulnerabilityA flaw was found in the ZeroMQ server in versions before 4.3.3. This flaw allows a malicious client to cause a stack buffer overflow on the server by…EPSS 1.9%

Source: NIST National Vulnerability Database (record CVE-2026-39979), CISA KEV, FIRST EPSS (scores of 2026-11-13). This page is refreshed as NVD updates the record.