Security mailing lists by PureSourceCode

CVE-2026-39979

MEDIUM 6.9CVSS 4.0

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
13 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.9 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:X/V:X/RE:X/U:X
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jqlang jq
cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*
< 1.8.2 1.8.2
NVD redhat ai_inference_server
cpe:2.3:a:redhat:ai_inference_server:*:*:*:*:*:*:*:*
>= 3.2.0, < 3.2.2 3.2.2
NVD redhat ai_inference_server
cpe:2.3:a:redhat:ai_inference_server:*:*:*:*:*:*:*:*
>= 3.3.0, < 3.3.5 3.3.5
NVD redhat ansible_automation_platform
cpe:2.3:a:redhat:ansible_automation_platform:2.0:*:*:*:*:*:*:*
= 2.0
NVD redhat ceph_storage
cpe:2.3:a:redhat:ceph_storage:4.0:*:*:*:*:*:*:*
= 4.0
NVD redhat codeready_linux_builder
cpe:2.3:a:redhat:codeready_linux_builder:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat codeready_linux_builder
cpe:2.3:a:redhat:codeready_linux_builder:9.0:*:*:*:*:*:*:*
= 9.0
NVD redhat codeready_linux_builder
cpe:2.3:a:redhat:codeready_linux_builder:10.0:*:*:*:*:*:*:*
= 10.0
NVD redhat codeready_linux_builder_eus
cpe:2.3:a:redhat:codeready_linux_builder_eus:9.4:*:*:*:*:*:*:*
= 9.4
NVD redhat codeready_linux_builder_eus
cpe:2.3:a:redhat:codeready_linux_builder_eus:9.6:*:*:*:*:*:*:*
= 9.6
NVD redhat codeready_linux_builder_eus
cpe:2.3:a:redhat:codeready_linux_builder_eus:10.0:*:*:*:*:*:*:*
= 10.0
NVD redhat hardened_images
cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
(no version)
NVD redhat openshift_ai
cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*
>= 3.4, < 3.4.3 3.4.3
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
>= 4.12, < 4.12.92 4.12.92
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
>= 4.13, < 4.13.68 4.13.68
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
>= 4.14, < 4.14.68 4.14.68
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
>= 4.15, < 4.15.65 4.15.65
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
>= 4.16, < 4.16.64 4.16.64
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
>= 4.17, < 4.17.55 4.17.55
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
>= 4.18, < 4.18.44 4.18.44
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
>= 4.19, < 4.19.33 4.19.33
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD redhat enterprise_linux_aus
cpe:2.3:o:redhat:enterprise_linux_aus:8.4:*:*:*:*:*:*:*
= 8.4
NVD redhat enterprise_linux_aus
cpe:2.3:o:redhat:enterprise_linux_aus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:*
= 8.4
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:9.4:*:*:*:*:*:*:*
= 9.4
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:9.6:*:*:*:*:*:*:*
= 9.6
NVD redhat enterprise_linux_eus
cpe:2.3:o:redhat:enterprise_linux_eus:10.0:*:*:*:*:*:*:*
= 10.0
NVD redhat enterprise_linux_tus
cpe:2.3:o:redhat:enterprise_linux_tus:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_tus
cpe:2.3:o:redhat:enterprise_linux_tus:8.8:*:*:*:*:*:*:*
= 8.8
NVD redhat enterprise_linux_update_services_for_sap_solutions
cpe:2.3:o:redhat:enterprise_linux_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*
= 8.6
NVD redhat enterprise_linux_update_services_for_sap_solutions
cpe:2.3:o:redhat:enterprise_linux_update_services_for_sap_solutions:8.8:*:*:*:*:*:*:*
= 8.8
NVD redhat enterprise_linux_update_services_for_sap_solutions
cpe:2.3:o:redhat:enterprise_linux_update_services_for_sap_solutions:9.0:*:*:*:*:*:*:*
= 9.0
NVD redhat enterprise_linux_update_services_for_sap_solutions
cpe:2.3:o:redhat:enterprise_linux_update_services_for_sap_solutions:9.2:*:*:*:*:*:*:*
= 9.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.