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 Details
- CVSS 4.0 Base Score: 6.9 (MEDIUM)
- CVSS 4.0 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/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)
- CVSS 3.1 Base Score: 6.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade jq-develUpgrade jq | May 13, 2026 | May 12, 2026 |
| Alpine Linux | — | Upgrade jq | Sep 2, 2026 | Apr 13, 2026 |
| Amazon Linux Ami 2 | — | Upgrade jq-debuginfoUpgrade jqUpgrade jq-devel | Jul 8, 2026 | Jul 8, 2026 |
| Amazon_linux_2023 | — | Upgrade jq-develUpgrade jq-debugsourceUpgrade jq-debuginfoUpgrade jq | Jun 9, 2026 | Apr 13, 2026 |
| Debian | — | Upgrade jq | May 26, 2026 | May 26, 2026 |
| Nutanix Ahv | — | Upgrade Nutanix AHV to the latest version | Jul 2, 2026 | Jul 1, 2026 |
| Oracle_linux | — | Upgrade jq-develUpgrade jq | May 21, 2026 | Apr 13, 2026 |
| Redhat Openshift | — | Upgrade rhcos | Aug 10, 2026 | Apr 13, 2026 |
| Redhat_linux | — | Upgrade jq-debugsourceUpgrade jqUpgrade jq-debuginfoUpgrade jq-devel | May 13, 2026 | Apr 13, 2026 |
| Rocky_linux | — | Upgrade jq-debuginfoUpgrade jq-debugsourceUpgrade jqUpgrade jq-devel | May 18, 2026 | May 14, 2026 |
| Ubuntu | — | Upgrade libjq-devUpgrade libjq1Upgrade libjq-dev (Ubuntu Pro)Upgrade jqUpgrade jq (Ubuntu Pro)Upgrade libjq1 (Ubuntu Pro) | Apr 28, 2026 | Apr 23, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Apr 13, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub