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.
The product reads data past the end, or before the beginning, of the intended buffer.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Jq | Jqlang | * | 2026-04-12 (excluding) |
| Red Hat Enterprise Linux 10 | RedHat | jq-0:1.7.1-11.el10_1.0.2 | * |
| Red Hat Enterprise Linux 10 | RedHat | jq-0:1.7.1-11.el10_2.2 | * |
| Red Hat Enterprise Linux 10.0 Extended Update Support | RedHat | jq-0:1.7.1-8.el10_0.3 | * |
| Red Hat Enterprise Linux 8 | RedHat | jq-0:1.6-12.el8_10 | * |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | RedHat | jq-0:1.5-12.el8_4.5 | * |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | RedHat | jq-0:1.5-12.el8_4.5 | * |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | jq-0:1.6-3.el8_6.2 | * |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | RedHat | jq-0:1.6-3.el8_6.2 | * |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | RedHat | jq-0:1.6-3.el8_6.2 | * |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | jq-0:1.6-6.el8_8.4 | * |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | jq-0:1.6-6.el8_8.4 | * |
| Red Hat Enterprise Linux 9 | RedHat | jq-0:1.6-19.el9_7.0.2 | * |
| Red Hat Enterprise Linux 9 | RedHat | jq-0:1.6-19.el9_8.2 | * |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | RedHat | jq-0:1.6-12.el9_0.3 | * |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | jq-0:1.6-15.el9_2.3 | * |
| Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | jq-0:1.6-16.el9_4.2 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | jq-0:1.6-17.el9_6.4 | * |
| Red Hat OpenShift Container Platform 4.15 | RedHat | rhcos-415.92.202606030318-0 | * |
| Red Hat OpenShift Container Platform 4.16 | RedHat | rhcos-416.94.202606051757-0 | * |
| Red Hat OpenShift Container Platform 4.18 | RedHat | rhcos-418.94.202606051320-0 | * |
| Red Hat OpenShift Container Platform 4.19 | RedHat | rhcos-4.19.9.6.202606031700-0 | * |
| Red Hat AI Inference Server 3.2 | RedHat | rhaiis/model-opt-cuda-rhel9:1780681984 | * |
| Red Hat Hardened Images | RedHat | jq-main-1.8.1-3.hum1 | * |
| Jq | Ubuntu | esm-apps-legacy/xenial | * |
| Jq | Ubuntu | esm-apps/bionic | * |
| Jq | Ubuntu | esm-apps/xenial | * |
| Jq | Ubuntu | esm-infra-legacy/trusty | * |
| Jq | Ubuntu | esm-infra/focal | * |
| Jq | Ubuntu | jammy | * |
| Jq | Ubuntu | noble | * |
| Jq | Ubuntu | questing | * |
| Jq | Ubuntu | resolute | * |
| Jq | Ubuntu | upstream | * |