CVE-2026-39979 jq: Out-of-Bounds Read in jv_parse_sized() Error Formatting for Non-NUL-Terminated Counted Buffers
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
66 packages: 50 fixed, 11 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat ansible automation platform | = 2; = 2.0; All versions | No fix listed | No fix yet |
| redhat ceph storage | = 4.0; All versions | No fix listed | No fix yet |
| redhat hardened images | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/controller-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/jq(Red Hat ceph_storage 4) | All versions | No fix listed | No fix yet |
| redhat/rhai/base-image-neuron-rhel9:1790703542(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/model-opt-cuda-rhel9:1780681984(Red Hat ai_inference_server 3.2 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/model-opt-cuda-rhel9:1782352950(Red Hat ai_inference_server 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-cuda-rhel9:1782352847(Red Hat ai_inference_server 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-rocm-rhel9:1782353093(Red Hat ai_inference_server 3.3 el9) | All versions | No fix listed | No fix yet |
| redhat/rhaiis/vllm-spyre-rhel9:1782352919(Red Hat ai_inference_server 3.3 el9) | All versions | No fix listed | No fix yet |
| alpine/jq(Alpine v3.21) | < 1.8.2-r0 | 1.8.2-r0 | Fixed |
| alpine/jq(Alpine v3.22) | < 1.8.2-r0 | 1.8.2-r0 | Fixed |
| alpine/jq(Alpine v3.23) | < 1.8.2-r0 | 1.8.2-r0 | Fixed |
| alpine/jq(Alpine v3.24) | < 1.8.2-r0 | 1.8.2-r0 | Fixed |
| azure linux jq(Azure Linux 3.0) | < 1.7.1-5 | 1.7.1-5 | Fixed |
| cbl-mariner jq(CBL-Mariner 2.0) | < 1.6-6 | 1.6-6 | Fixed |
| debian/jq(Debian 12) | < 1.6-2.1+deb12u2; = 1.6-2.1; = 1.6-2.1+deb12u1 | 1.6-2.1+deb12u2 | Fixed |
| debian/jq(Debian 13) | < 1.7.1-6+deb13u2; = 1.7.1-6+deb13u1 | 1.7.1-6+deb13u2 | Fixed |
| debian/jq(Debian 14) | < 1.8.1-5; = 1.8.0-1; = 1.8.1-1; = 1.8.1-2 +2 more | 1.8.1-5 | Fixed |
| jqlang jq | < 1.8.2; = < 2f09060afab23fe9390cce7cb860b10416e1bf5f | 1.8.2 | Fixed |
| redhat ai inference server | < 1780681984; < 1782352847; < 1782352919; < 1782352950 +3 more | 3.2.2, 3.3.5, 1780681984, 1782352847, 1782352919, 1782352950, 1782353093 | Fixed |
| redhat enterprise linux | < 0:1.6-12.el8_10; < 0:1.6-19.el9_7.0.2; < 0:1.6-19.el9_8.2; < 0:1.7.1-11.el10_1.0.2 +4 more | 0:1.6-12.el8_10, 0:1.6-19.el9_7.0.2, 0:1.6-19.el9_8.2, 0:1.7.1-11.el10_1.0.2, 0:1.7.1-11.el10_2.2 | Fixed |
| redhat enterprise linux eus | < 0:1.7.1-8.el10_0.3; = 8.4; = 9.4; = 9.6 +1 more | 0:1.7.1-8.el10_0.3 | Fixed |
| redhat hummingbird | < 1.8.1-3.hum1 | 1.8.1-3.hum1 | Fixed |
| redhat openshift | < 4.19.9.6.202606031700-0; < 412.86.202606140301-0; < 413.92.202606160406-0; < 414.92.202606231112-0 +4 more | 4.19.9.6.202606031700-0, 412.86.202606140301-0, 413.92.202606160406-0, 414.92.202606231112-0, 415.92.202606030318-0, 416.94.202606051757-0, 417.94.202606250942-0, 418.94.202606051320-0 | Fixed |
| redhat openshift ai | >= 3.4, < 3.4.3 | 3.4.3 | Fixed |
| redhat openshift container platform | >= 4.12, < 4.12.92; >= 4.13, < 4.13.68; >= 4.14, < 4.14.68; >= 4.15, < 4.15.65 +4 more | 4.12.92, 4.13.68, 4.14.68, 4.15.65, 4.16.64, 4.17.55, 4.18.44, 4.19.33 | Fixed |
| redhat rhel aus | < 0:1.5-12.el8_4.5; < 0:1.6-3.el8_6.2 | 0:1.5-12.el8_4.5, 0:1.6-3.el8_6.2 | Fixed |
| redhat rhel e4s | < 0:1.6-3.el8_6.2; < 0:1.6-6.el8_8.4; < 0:1.6-12.el9_0.3; < 0:1.6-15.el9_2.3 | 0:1.6-3.el8_6.2, 0:1.6-6.el8_8.4, 0:1.6-12.el9_0.3, 0:1.6-15.el9_2.3 | Fixed |
… and 36 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner jq(CBL-Mariner:2.0) | < 1.6-6 | 1.6-6 |
| azure linux jq(Azure Linux:3.0) | < 1.7.1-5 | 1.7.1-5 |
| jqlang jq | = < 2f09060afab23fe9390cce7cb860b10416e1bf5f | No fix listed |
| redhat enterprise linux | < 0:1.7.1-11.el10_1.0.2 | 0:1.7.1-11.el10_1.0.2 |
| redhat enterprise linux | < 0:1.7.1-11.el10_2.2 | 0:1.7.1-11.el10_2.2 |
| redhat enterprise linux eus | < 0:1.7.1-8.el10_0.3 | 0:1.7.1-8.el10_0.3 |
| redhat enterprise linux | < 0:1.6-12.el8_10 | 0:1.6-12.el8_10 |
| redhat rhel aus | < 0:1.5-12.el8_4.5 | 0:1.5-12.el8_4.5 |
| redhat rhel eus long life | < 0:1.5-12.el8_4.5 | 0:1.5-12.el8_4.5 |
| redhat rhel aus | < 0:1.6-3.el8_6.2 | 0:1.6-3.el8_6.2 |
| redhat rhel tus | < 0:1.6-3.el8_6.2 | 0:1.6-3.el8_6.2 |
| redhat rhel e4s | < 0:1.6-3.el8_6.2 | 0:1.6-3.el8_6.2 |
| redhat rhel tus | < 0:1.6-6.el8_8.4 | 0:1.6-6.el8_8.4 |
| redhat rhel e4s | < 0:1.6-6.el8_8.4 | 0:1.6-6.el8_8.4 |
| redhat enterprise linux | < 0:1.6-19.el9_7.0.2 | 0:1.6-19.el9_7.0.2 |
| redhat enterprise linux | < 0:1.6-19.el9_8.2 | 0:1.6-19.el9_8.2 |
| redhat rhel e4s | < 0:1.6-12.el9_0.3 | 0:1.6-12.el9_0.3 |
| redhat rhel e4s | < 0:1.6-15.el9_2.3 | 0:1.6-15.el9_2.3 |
| redhat rhel eus | < 0:1.6-16.el9_4.2 | 0:1.6-16.el9_4.2 |
| redhat rhel eus | < 0:1.6-17.el9_6.4 | 0:1.6-17.el9_6.4 |
| redhat openshift | < 412.86.202606140301-0 | 412.86.202606140301-0 |
| redhat openshift | < 413.92.202606160406-0 | 413.92.202606160406-0 |
| redhat openshift | < 414.92.202606231112-0 | 414.92.202606231112-0 |
| redhat openshift | < 415.92.202606030318-0 | 415.92.202606030318-0 |
| redhat openshift | < 416.94.202606051757-0 | 416.94.202606051757-0 |
Show 100 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat openshift | < 417.94.202606250942-0 | 417.94.202606250942-0 |
| redhat openshift | < 418.94.202606051320-0 | 418.94.202606051320-0 |
| redhat openshift | < 4.19.9.6.202606031700-0 | 4.19.9.6.202606031700-0 |
| redhat ai inference server | < 1780681984 | 1780681984 |
| redhat ai inference server | < 1782352950 | 1782352950 |
| redhat ai inference server | < 1782352919 | 1782352919 |
| redhat ai inference server | < 1782353093 | 1782353093 |
| redhat ai inference server | < 1782352847 | 1782352847 |
| redhat hummingbird | < 1.8.1-3.hum1 | 1.8.1-3.hum1 |
| redhat ansible automation platform | All versions | No fix listed |
| redhat ansible automation platform | = 2 | No fix listed |
| redhat ceph storage | All versions | No fix listed |
| debian/jq(Debian:12) | < 1.6-2.1+deb12u2 | 1.6-2.1+deb12u2 |
| debian/jq(Debian:12) | = 1.6-2.1 | No fix listed |
| debian/jq(Debian:12) | = 1.6-2.1+deb12u1 | No fix listed |
| debian/jq(Debian:13) | < 1.7.1-6+deb13u2 | 1.7.1-6+deb13u2 |
| debian/jq(Debian:13) | = 1.7.1-6+deb13u1 | No fix listed |
| debian/jq(Debian:14) | < 1.8.1-5 | 1.8.1-5 |
| debian/jq(Debian:14) | = 1.8.0-1 | No fix listed |
| debian/jq(Debian:14) | = 1.8.1-1 | No fix listed |
| debian/jq(Debian:14) | = 1.8.1-2 | No fix listed |
| debian/jq(Debian:14) | = 1.8.1-3 | No fix listed |
| debian/jq(Debian:14) | = 1.8.1-4 | No fix listed |
| redhat/jq(Red Hat:enterprise_linux:10.1) | < 1.7.1-11.el10_1.0.2 | 1.7.1-11.el10_1.0.2 |
| redhat/jq(Red Hat:enterprise_linux:10.2) | < 1.7.1-11.el10_2.2 | 1.7.1-11.el10_2.2 |
| redhat/jq(Red Hat:enterprise_linux_eus:10.0) | < 1.7.1-8.el10_0.3 | 1.7.1-8.el10_0.3 |
| redhat/jq(Red Hat:enterprise_linux:8) | < 1.6-12.el8_10 | 1.6-12.el8_10 |
| redhat/jq(Red Hat:rhel_aus:8.4) | < 1.5-12.el8_4.5 | 1.5-12.el8_4.5 |
| redhat/jq(Red Hat:rhel_eus_long_life:8.4) | < 1.5-12.el8_4.5 | 1.5-12.el8_4.5 |
| redhat/jq(Red Hat:rhel_aus:8.6) | < 1.6-3.el8_6.2 | 1.6-3.el8_6.2 |
| redhat/jq(Red Hat:rhel_tus:8.6) | < 1.6-3.el8_6.2 | 1.6-3.el8_6.2 |
| redhat/jq(Red Hat:rhel_e4s:8.6) | < 1.6-3.el8_6.2 | 1.6-3.el8_6.2 |
| redhat/jq(Red Hat:rhel_tus:8.8) | < 1.6-6.el8_8.4 | 1.6-6.el8_8.4 |
| redhat/jq(Red Hat:rhel_e4s:8.8) | < 1.6-6.el8_8.4 | 1.6-6.el8_8.4 |
| redhat/jq(Red Hat:enterprise_linux:9) | < 1.6-19.el9_7.0.2 | 1.6-19.el9_7.0.2 |
| redhat/jq(Red Hat:enterprise_linux:9) | < 1.6-19.el9_8.2 | 1.6-19.el9_8.2 |
| redhat/jq(Red Hat:rhel_e4s:9.0) | < 1.6-12.el9_0.3 | 1.6-12.el9_0.3 |
| redhat/jq(Red Hat:rhel_e4s:9.2) | < 1.6-15.el9_2.3 | 1.6-15.el9_2.3 |
| redhat/jq(Red Hat:rhel_eus:9.4) | < 1.6-16.el9_4.2 | 1.6-16.el9_4.2 |
| redhat/jq(Red Hat:rhel_eus:9.6) | < 1.6-17.el9_6.4 | 1.6-17.el9_6.4 |
| redhat/rhcos(Red Hat:openshift:4.12::el8) | < 412.86.202606140301-0 | 412.86.202606140301-0 |
| redhat/rhcos(Red Hat:openshift:4.13::el9) | < 413.92.202606160406-0 | 413.92.202606160406-0 |
| redhat/rhcos(Red Hat:openshift:4.14::el9) | < 414.92.202606231112-0 | 414.92.202606231112-0 |
| redhat/rhcos(Red Hat:openshift:4.15::el9) | < 415.92.202606030318-0 | 415.92.202606030318-0 |
| redhat/rhcos(Red Hat:openshift:4.16::el9) | < 416.94.202606051757-0 | 416.94.202606051757-0 |
| redhat/rhcos(Red Hat:openshift:4.17::el9) | < 417.94.202606250942-0 | 417.94.202606250942-0 |
| redhat/rhcos(Red Hat:openshift:4.18::el9) | < 418.94.202606051320-0 | 418.94.202606051320-0 |
| redhat/rhcos(Red Hat:openshift:4.19::el9) | < 4.19.9.6.202606031700-0 | 4.19.9.6.202606031700-0 |
| redhat/rhaiis/model-opt-cuda-rhel9:1780681984(Red Hat:ai_inference_server:3.2::el9) | All versions | No fix listed |
| redhat/rhaiis/model-opt-cuda-rhel9:1782352950(Red Hat:ai_inference_server:3.3::el9) | All versions | No fix listed |
| redhat/rhaiis/vllm-spyre-rhel9:1782352919(Red Hat:ai_inference_server:3.3::el9) | All versions | No fix listed |
| redhat/rhaiis/vllm-rocm-rhel9:1782353093(Red Hat:ai_inference_server:3.3::el9) | All versions | No fix listed |
| redhat/rhaiis/vllm-cuda-rhel9:1782352847(Red Hat:ai_inference_server:3.3::el9) | All versions | No fix listed |
| redhat/jq-main(Red Hat:hummingbird:1) | < 1.8.1-3.hum1 | 1.8.1-3.hum1 |
| redhat/rhai/base-image-neuron-rhel9:1790703542(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/controller-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/jq(Red Hat:ceph_storage:4) | All versions | No fix listed |
| ubuntu/jq(Ubuntu:22.04) | < 1.6-2.1ubuntu3.2 | 1.6-2.1ubuntu3.2 |
| ubuntu/jq(Ubuntu:24.04) | < 1.7.1-3ubuntu0.24.04.2 | 1.7.1-3ubuntu0.24.04.2 |
| ubuntu/jq(Ubuntu:26.04) | < 1.8.1-4ubuntu2 | 1.8.1-4ubuntu2 |
| jqlang jq | < 1.8.2 | 1.8.2 |
| redhat ai inference server | >= 3.2.0, < 3.2.2 | 3.2.2 |
| redhat ai inference server | >= 3.3.0, < 3.3.5 | 3.3.5 |
| redhat ansible automation platform | = 2.0 | No fix listed |
| redhat ceph storage | = 4.0 | No fix listed |
| redhat codeready linux builder | = 8.0 | No fix listed |
| redhat codeready linux builder | = 9.0 | No fix listed |
| redhat codeready linux builder | = 10.0 | No fix listed |
| redhat codeready linux builder eus | = 9.4 | No fix listed |
| redhat codeready linux builder eus | = 9.6 | No fix listed |
| redhat codeready linux builder eus | = 10.0 | No fix listed |
| redhat hardened images | All versions | No fix listed |
| redhat openshift ai | >= 3.4, < 3.4.3 | 3.4.3 |
| redhat openshift container platform | >= 4.12, < 4.12.92 | 4.12.92 |
| redhat openshift container platform | >= 4.13, < 4.13.68 | 4.13.68 |
| redhat openshift container platform | >= 4.14, < 4.14.68 | 4.14.68 |
| redhat openshift container platform | >= 4.15, < 4.15.65 | 4.15.65 |
| redhat openshift container platform | >= 4.16, < 4.16.64 | 4.16.64 |
| redhat openshift container platform | >= 4.17, < 4.17.55 | 4.17.55 |
| redhat openshift container platform | >= 4.18, < 4.18.44 | 4.18.44 |
| redhat openshift container platform | >= 4.19, < 4.19.33 | 4.19.33 |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| redhat enterprise linux | = 10.0 | No fix listed |
| redhat enterprise linux aus | = 8.4 | No fix listed |
| redhat enterprise linux aus | = 8.6 | No fix listed |
| redhat enterprise linux eus | = 8.4 | No fix listed |
| redhat enterprise linux eus | = 9.4 | No fix listed |
| redhat enterprise linux eus | = 9.6 | No fix listed |
| redhat enterprise linux eus | = 10.0 | No fix listed |
| redhat enterprise linux tus | = 8.6 | No fix listed |
| redhat enterprise linux tus | = 8.8 | No fix listed |
| redhat enterprise linux update services for sap solutions | = 8.6 | No fix listed |
| redhat enterprise linux update services for sap solutions | = 8.8 | No fix listed |
| redhat enterprise linux update services for sap solutions | = 9.0 | No fix listed |
| redhat enterprise linux update services for sap solutions | = 9.2 | No fix listed |
| alpine/jq(Alpine:v3.21) | < 1.8.2-r0 | 1.8.2-r0 |
| alpine/jq(Alpine:v3.22) | < 1.8.2-r0 | 1.8.2-r0 |
| alpine/jq(Alpine:v3.23) | < 1.8.2-r0 | 1.8.2-r0 |
| alpine/jq(Alpine:v3.24) | < 1.8.2-r0 | 1.8.2-r0 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355p exploit vendor-advisory
- https://github.com/jqlang/jq/commit/2f09060afab23fe9390cce7cb860b10416e1bf5f patch
- Red Hat CVE page mitigation third-party-advisory vdb-entry vendor-advisory
- RHBZ#2458077 issue-tracking third-party-advisory
- security.access.redhat.com third-party-advisory
- RHSA-2026:26528 patch third-party-advisory vendor-advisory
- RHSA-2026:26542 patch third-party-advisory vendor-advisory
- RHSA-2026:28887 patch third-party-advisory vendor-advisory
- RHSA-2026:23233 patch third-party-advisory vendor-advisory
- RHSA-2026:25044 patch third-party-advisory vendor-advisory
- RHSA-2026:34098 patch third-party-advisory vendor-advisory
- RHSA-2026:25181 patch third-party-advisory vendor-advisory
- RHSA-2026:23245 patch third-party-advisory vendor-advisory
- RHSA-2026:16252 patch third-party-advisory vendor-advisory
- RHSA-2026:18048 patch third-party-advisory vendor-advisory
- RHSA-2026:18047 patch third-party-advisory vendor-advisory
- RHSA-2026:18046 patch third-party-advisory vendor-advisory
- RHSA-2026:18045 patch third-party-advisory vendor-advisory
- RHSA-2026:18044 patch third-party-advisory vendor-advisory
- RHSA-2026:18040 patch third-party-advisory vendor-advisory
- RHSA-2026:16692 patch third-party-advisory vendor-advisory
- RHSA-2026:19151 patch third-party-advisory vendor-advisory
- RHSA-2026:18043 patch third-party-advisory vendor-advisory
- RHSA-2026:18042 patch third-party-advisory vendor-advisory
- RHSA-2026:16693 patch third-party-advisory vendor-advisory
- RHSA-2026:19365 patch third-party-advisory vendor-advisory
- RHSA-2026:25096 patch third-party-advisory vendor-advisory
- RHSA-2026:30078 patch third-party-advisory vendor-advisory
- RHSA-2026:30089 patch third-party-advisory vendor-advisory
- RHSA-2026:30088 patch third-party-advisory vendor-advisory
- RHSA-2026:30087 patch third-party-advisory vendor-advisory
- RHSA-2026:8579 patch third-party-advisory vendor-advisory
- Debian Security Tracker CVE-2026-39979 vendor-advisory
- RHSA-2026:74674 patch vendor-advisory
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- USN-8202-1 vendor-advisory
- USN-8202-2 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking