{"cve":"CVE-2026-39979","nvd":{"published":"2026-04-13T23:16:27.823","modified":"2026-10-26T19:36:22.590","status":"Analyzed","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_v4":{"vector":"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","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":6.5},"cwes":["CWE-125"],"references":["https://github.com/jqlang/jq/commit/2f09060afab23fe9390cce7cb860b10416e1bf5f","https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355p","https://access.redhat.com/errata/RHSA-2026:16252","https://access.redhat.com/errata/RHSA-2026:16692","https://access.redhat.com/errata/RHSA-2026:16693"],"products":["jqlang:jq","redhat:ai_inference_server","redhat:ansible_automation_platform","redhat:ceph_storage","redhat:codeready_linux_builder","redhat:codeready_linux_builder_eus","redhat:enterprise_linux","redhat:enterprise_linux_aus","redhat:enterprise_linux_eus","redhat:enterprise_linux_tus","redhat:enterprise_linux_update_services_for_sap_solutions","redhat:hardened_images","redhat:openshift_ai","redhat:openshift_container_platform"],"source":"nvd","synced_at":"2026-10-26T20:02:43.310953152+00:00"},"epss":{"cve":"CVE-2026-39979","score":0.00559,"percentile":0.46317,"date":"2026-10-26"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}