
CVE catalog
CVE-2026-39979
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 e
- Severity
- High · CVSS 8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.56% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | jq | sid | 1.8.2-1 | fixed |
| Debian | jq | forky | 1.8.2-1 | fixed |
| Debian | jq | trixie | 1.7.1-6+deb13u3 | fixed |
| Debian | jq | trixie-security | 1.7.1-6+deb13u4 | fixed |
| Debian | jq | bookworm | 1.6-2.1+deb12u2 | fixed |
| Debian | jq | bookworm-security | 1.6-2.1+deb12u3 | fixed |
| Cpe | jq | Not reported | 1.7.1-3ubuntu0.24.04.2 | fixed |
| Cpe | libjq-dev | Not reported | 1.7.1-3ubuntu0.24.04.2 | fixed |
| Cpe | libjq1 | Not reported | 1.7.1-3ubuntu0.24.04.2 | fixed |
| Cpe | jq | Not reported | 2026-04-12 | fixed |
| Cpe | jq | Not reported | 1.6-2.1+deb12u2 | fixed |
| Alpine | jq | 3.22 | 1.8.2-r0 | fixed |
| Alpine | jq | 3.23 | 1.8.2-r0 | fixed |
| Alpine | jq | 3.24 | 1.8.2-r0 | fixed |
| Ubuntu | jq | pro | 1.5+dfsg-2build1 | vulnerable |
| Ubuntu | jq | pro | 1.6-1 | vulnerable |
| Ubuntu | jq | pro | 1.6-1ubuntu0.20.04.1 | vulnerable |
| Ubuntu | jq | pro | 1.6-1ubuntu0.20.04.1+esm1 | vulnerable |
| Ubuntu | jq | pro | 1.6-1ubuntu0.20.04.1+esm2 | fixed |
| Ubuntu | jq | 22.04 | 1.6-2.1ubuntu2 | vulnerable |
| Ubuntu | jq | 22.04 | 1.6-2.1ubuntu3 | vulnerable |
| Ubuntu | jq | 22.04 | 1.6-2.1ubuntu3.1 | vulnerable |
| Ubuntu | jq | 22.04 | 1.6-2.1ubuntu3.2 | fixed |
| Ubuntu | jq | 24.04 | 1.6-3 | vulnerable |
| Ubuntu | jq | 24.04 | 1.7-1 | vulnerable |
| Ubuntu | jq | 24.04 | 1.7.1-2 | vulnerable |
| Ubuntu | jq | 24.04 | 1.7.1-3 | vulnerable |
| Ubuntu | jq | 24.04 | 1.7.1-3build1 | vulnerable |
| Ubuntu | jq | 24.04 | 1.7.1-3ubuntu0.24.04.1 | vulnerable |
| Ubuntu | jq | 24.04 | 1.7.1-3ubuntu0.24.04.2 | fixed |
| Ubuntu | jq | 25.10 | 1.7.1-3ubuntu1 | vulnerable |
| Ubuntu | jq | 25.10 | 1.7.1-6ubuntu1 | vulnerable |
| Ubuntu | jq | 25.10 | 1.8.1-3ubuntu1 | vulnerable |
| Ubuntu | jq | 25.10 | 1.8.1-3ubuntu1.1 | fixed |
| Ubuntu | jq | 26.04 | 1.8.1-3ubuntu1 | vulnerable |
| Ubuntu | jq | 26.04 | 1.8.1-4ubuntu1 | vulnerable |
| Ubuntu | jq | 26.04 | 1.8.1-4ubuntu2 | fixed |
| Cpe | jq | Not reported | 1.8.2 | fixed |
| Cpe | ai_inference_server | Not reported | 3.3.5 | fixed |
| Cpe | ansible_automation_platform | Not reported | Not reported | unknown |
| Cpe | ceph_storage | Not reported | Not reported | unknown |
| Cpe | codeready_linux_builder | Not reported | Not reported | unknown |
| Cpe | codeready_linux_builder_eus | Not reported | Not reported | unknown |
| Cpe | hardened_images | Not reported | Not reported | unknown |
| Cpe | openshift_ai | Not reported | 3.4.3 | fixed |
| Cpe | openshift_container_platform | Not reported | 4.18.44 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | jq | source | sid | 1.8.1-5 | not yet assigned | Not reported | [1133921] |
| Debian | jq | source | forky | 1.8.1-5 | not yet assigned | Not reported | [1133921] |
| Debian | jq | source | trixie | 1.7.1-6+deb13u2 | not yet assigned | Not reported | [1133921] |
| Debian | jq | source | bookworm | 1.6-2.1+deb12u2 | not yet assigned | Not reported | [1133921] |
| Cpe | jq | cpe | Not reported | 1.7.1-3ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | libjq-dev | cpe | Not reported | 1.7.1-3ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | libjq1 | cpe | Not reported | 1.7.1-3ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | jq | cpe | Not reported | 2026-04-12 | Not reported | Not reported | Not reported |
| Cpe | jq | cpe | Not reported | 1.6-2.1+deb12u2 | Not reported | Not reported | Not reported |
| Alpine | jq | apk | 3.22 | 1.8.2-r0 | Not reported | ALPINE-CVE-2026-39979 | Not reported |
| Alpine | jq | apk | 3.23 | 1.8.2-r0 | Not reported | ALPINE-CVE-2026-39979 | Not reported |
| Alpine | jq | apk | 3.24 | 1.8.2-r0 | Not reported | ALPINE-CVE-2026-39979 | Not reported |
| Ubuntu | jq | deb | pro | 1.6-1ubuntu0.20.04.1+esm2 | Not reported | UBUNTU-CVE-2026-39979 | Not reported |
| Ubuntu | jq | deb | 22.04 | 1.6-2.1ubuntu3.2 | Not reported | UBUNTU-CVE-2026-39979 | Not reported |
| Ubuntu | jq | deb | 24.04 | 1.7.1-3ubuntu0.24.04.2 | Not reported | UBUNTU-CVE-2026-39979 | Not reported |
| Ubuntu | jq | deb | 25.10 | 1.8.1-3ubuntu1.1 | Not reported | UBUNTU-CVE-2026-39979 | Not reported |
| Ubuntu | jq | deb | 26.04 | 1.8.1-4ubuntu2 | Not reported | UBUNTU-CVE-2026-39979 | Not reported |
| Cpe | jq | cpe | Not reported | 1.8.2 | Not reported | NVD-CVE-2026-39979 | Not reported |
| Cpe | ai_inference_server | cpe | Not reported | 3.3.5 | Not reported | NVD-CVE-2026-39979 | Not reported |
| Cpe | openshift_ai | cpe | Not reported | 3.4.3 | Not reported | NVD-CVE-2026-39979 | Not reported |
| Cpe | openshift_container_platform | cpe | Not reported | 4.18.44 | Not reported | NVD-CVE-2026-39979 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [jq]Fixed
Details (4)
1.6-2.1+deb12u2· amd64 · bookwormFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookwormFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
- [libjq1]Fixed
Source package: [jq]
Details (4)
1.6-2.1+deb12u2· amd64 · bookwormFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookwormFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
- [libjq-dev]Fixed
Source package: [jq]
Details (4)
1.6-2.1+deb12u2· amd64 · bookwormFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookwormFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
1.6-2.1+deb12u2nvd · jq · debian · bookworm; nvd · jq · debian · 12
[Debian 13 (Trixie)]
- [jq]Fixed
Details (5)
1.7.1-6+deb13u2· amd64 · trixieFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u2· arm64 · trixieFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u3· amd64 · trixie-security · Historical versionFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u3· arm64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u4· amd64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
- [libjq1]Fixed
Source package: [jq]
Details (5)
1.7.1-6+deb13u2· amd64 · trixieFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u2· arm64 · trixieFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u3· amd64 · trixie-security · Historical versionFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u3· arm64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u4· amd64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
- [libjq-dev]Fixed
Source package: [jq]
Details (5)
1.7.1-6+deb13u2· amd64 · trixieFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u2· arm64 · trixieFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u3· amd64 · trixie-security · Historical versionFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u3· arm64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
1.7.1-6+deb13u4· amd64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u2nvd · jq · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:16252]
- [https://access.redhat.com/errata/RHSA-2026:16692]
- [https://access.redhat.com/errata/RHSA-2026:16693]
- [https://access.redhat.com/errata/RHSA-2026:18040]
- [https://access.redhat.com/errata/RHSA-2026:18042]
- [https://access.redhat.com/errata/RHSA-2026:18043]
- [https://access.redhat.com/errata/RHSA-2026:18044]
- [https://access.redhat.com/errata/RHSA-2026:18045]
- [https://access.redhat.com/errata/RHSA-2026:18046]
- [https://access.redhat.com/errata/RHSA-2026:18047]
- [https://access.redhat.com/errata/RHSA-2026:18048]
- [https://access.redhat.com/errata/RHSA-2026:19151]
- [https://access.redhat.com/errata/RHSA-2026:19365]
- [https://access.redhat.com/errata/RHSA-2026:23233]
- [https://access.redhat.com/errata/RHSA-2026:23245]
- [https://access.redhat.com/errata/RHSA-2026:25044]
- [https://access.redhat.com/errata/RHSA-2026:25096]
- [https://access.redhat.com/errata/RHSA-2026:25181]
- [https://access.redhat.com/errata/RHSA-2026:26528]
- [https://access.redhat.com/errata/RHSA-2026:26542]
- [https://access.redhat.com/errata/RHSA-2026:28887]
- [https://access.redhat.com/errata/RHSA-2026:30078]
- [https://access.redhat.com/errata/RHSA-2026:30087]
- [https://access.redhat.com/errata/RHSA-2026:30088]
- [https://access.redhat.com/errata/RHSA-2026:30089]
- [https://access.redhat.com/errata/RHSA-2026:34098]
- [https://access.redhat.com/errata/RHSA-2026:8579]
- [https://access.redhat.com/security/cve/CVE-2026-39979]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2458077]
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/jqlang/jq/commit/2f09060afab23fe9390cce7cb860b10416e1bf5f]
- [https://github.com/jqlang/jq/security/advisories/GHSA-2hhh-px8h-355p]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-39979]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-39979]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-39979]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-39979]
- [https://security-tracker.debian.org/tracker/CVE-2026-39979]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39979.json]
- [https://ubuntu.com/security/notices/USN-8202-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1183.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]