Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-39979 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://access.redhat.com/errata/RHSA-2026:16252 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:16692 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:16693 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:18040 redhat-SADP
https://access.redhat.com/errata/RHSA-2026:18042 redhat-SADP

see all 33 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-125Out-of-bounds Readredhat-SADP
CWE-125Out-of-bounds Read[email protected]

Affected Products

ProductVersions
jqlang jq
< 2026-04-12

CPE

  • cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

9 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-39979
NVD Published Date:
Apr 13, 2026
NVD Last Modified:
Jul 15, 2026
Source:
[email protected]
CVE-2026-39979 Details - Not Deferred