CVE-2026-39979
mediumpriority · track · 26EPSS 0.006 · 46 %ileDEEUFRRUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–critical · 2.7–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (54)
Products and version ranges known to be affected.
- Red Hat Enterprise Linux Hardened Images RPMs jqall versionscert_bundDEcpe:/o:redhat:enterprise_linux:hardened_images_rpms_jq
- Red Hat OpenShift Container Platformall versionscert_bundDEcpe:/a:redhat:openshift:container_platform
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1183Red Hat Hardened Images RPMs (jq und pyOpenSSL): Mehrere SchwachstellenDeutsch2026-04-20csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Red Hat Hardened Images RPMs ausnutzen, um Sicherheitsvorkehrungen zu umgehen, einen Denial-of-Service-Zustand verursachen, vertrauliche Informationen offenlegen oder nicht näher spezifizierte Angriffe durchführen, einschließlich potenzieller Codeausführung.
- CERTFR-2026-AVI-1385Multiples vulnérabilités dans les produits VMwareFrançais2026-10-26vendor · certfrFR
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (36)
External citations — patches, advisories, analysis.
- https://github.com/jqlang/jq/commit/2f09060afab23fe9390cce7cb860b10416e1bf5fcnnvd
- https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355pcnnvd
- https://github.com/jqlang/jq/commit/2f09060afab23fe9390cce7cb860b10416e1bf5fenisa_euvd
- https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355penisa_euvd
- https://access.redhat.com/errata/RHSA-2026:16252Third Party Advisorynvd
- https://access.redhat.com/errata/RHSA-2026:16692Third Party Advisorynvd
- https://access.redhat.com/errata/RHSA-2026:16693Third Party Advisorynvd
- https://access.redhat.com/errata/RHSA-2026:18040Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan