
CVE catalog
CVE-2026-32316
jq is a command-line JSON processor. An integer overflow vulnerability exists through version 1.8.1 within the jvp_string_append() and jvp_string_copy_replace_bad functions, where concatenating string
- Severity
- High · CVSS 8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.79% · Oct 25, 2026
jq is a command-line JSON processor. An integer overflow vulnerability exists through version 1.8.1 within the jvp_string_append() and jvp_string_copy_replace_bad functions, where concatenating strings with a combined length exceeding 2^31 bytes causes a 32-bit unsigned integer overflow in the buffer allocation size calculation, resulting in a drastically undersized heap buffer. Subsequent memory copy operations then write the full string data into this undersized buffer, causing a heap buffer overflow classified as CWE-190 (Integer Overflow) leading to CWE-122 (Heap-based Buffer Overflow). Any system evaluating untrusted jq queries is affected, as an attacker can crash the process or potentially achieve further exploitation through heap corruption by crafting queries that produce extremely large strings. The root cause is the absence of string size bounds checking, unlike arrays and objects which already have size limits. The issue has been addressed in commit e47e56d226519635768e6aab2f38f0ab037c09e5.
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 | vulnerable |
| 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 | Not reported | unknown |
| Cpe | jq | Not reported | 1.6-2.1+deb12u2 | fixed |
| Cpe | jq | Not reported | Not reported | unknown |
| 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 |
| Suse | jq | linux micro 6.1 | 1.7.1-slfo.1.1_3.1 | fixed |
| Suse | jq | linux enterprise micro 5.3 | 1.6-150000.3.20.1 | fixed |
| Suse | jq | linux enterprise micro 5.4 | 1.6-150000.3.20.1 | fixed |
| Suse | jq | linux enterprise micro 5.5 | 1.6-150000.3.20.1 | fixed |
| Suse | jq | linux enterprise module for basesystem 15 sp7 | 1.6-150000.3.20.1 | fixed |
| Opensuse | jq | tumbleweed | 1.8.1-3.1 | 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 |
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+deb13u3 | not yet assigned | Not reported | [1133921] |
| Debian | jq | source | bookworm | 1.6-2.1+deb12u3 | 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 | 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-32316 | Not reported |
| Alpine | jq | apk | 3.23 | 1.8.2-r0 | Not reported | ALPINE-CVE-2026-32316 | Not reported |
| Alpine | jq | apk | 3.24 | 1.8.2-r0 | Not reported | ALPINE-CVE-2026-32316 | Not reported |
| Ubuntu | jq | deb | pro | 1.6-1ubuntu0.20.04.1+esm2 | Not reported | USN-8202-1 | Not reported |
| Ubuntu | jq | deb | 22.04 | 1.6-2.1ubuntu3.2 | Not reported | USN-8202-1 | Not reported |
| Ubuntu | jq | deb | 24.04 | 1.7.1-3ubuntu0.24.04.2 | Not reported | USN-8202-1 | Not reported |
| Ubuntu | jq | deb | 25.10 | 1.8.1-3ubuntu1.1 | Not reported | USN-8202-1 | Not reported |
| Suse | jq | rpm | linux micro 6.1 | 1.7.1-slfo.1.1_3.1 | Not reported | SUSE-SU-2026:22664-1 | Not reported |
| Suse | jq | rpm | linux enterprise micro 5.3 | 1.6-150000.3.20.1 | Not reported | SUSE-SU-2026:2983-1 | Not reported |
| Suse | jq | rpm | linux enterprise micro 5.4 | 1.6-150000.3.20.1 | Not reported | SUSE-SU-2026:2983-1 | Not reported |
| Suse | jq | rpm | linux enterprise micro 5.5 | 1.6-150000.3.20.1 | Not reported | SUSE-SU-2026:2983-1 | Not reported |
| Suse | jq | rpm | linux enterprise module for basesystem 15 sp7 | 1.6-150000.3.20.1 | Not reported | SUSE-SU-2026:2983-1 | Not reported |
| Opensuse | jq | rpm | tumbleweed | 1.8.1-3.1 | Not reported | OPENSUSE-SU-2026:10850-1 | Not reported |
| Ubuntu | jq | deb | pro | 1.6-1ubuntu0.20.04.1+esm2 | Not reported | UBUNTU-CVE-2026-32316 | Not reported |
| Ubuntu | jq | deb | 22.04 | 1.6-2.1ubuntu3.2 | Not reported | UBUNTU-CVE-2026-32316 | Not reported |
| Ubuntu | jq | deb | 24.04 | 1.7.1-3ubuntu0.24.04.2 | Not reported | UBUNTU-CVE-2026-32316 | Not reported |
| Ubuntu | jq | deb | 25.10 | 1.8.1-3ubuntu1.1 | Not reported | UBUNTU-CVE-2026-32316 | Not reported |
| Ubuntu | jq | deb | 26.04 | 1.8.1-4ubuntu2 | Not reported | UBUNTU-CVE-2026-32316 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [jq]Affected
Details (4)
1.6-2.1+deb12u2· amd64 · bookwormAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookwormAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· amd64 · bookworm-securityAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookworm-securityAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
- [libjq1]Affected
Source package: [jq]
Details (4)
1.6-2.1+deb12u2· amd64 · bookwormAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookwormAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· amd64 · bookworm-securityAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookworm-securityAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
- [libjq-dev]Affected
Source package: [jq]
Details (4)
1.6-2.1+deb12u2· amd64 · bookwormAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookwormAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· amd64 · bookworm-securityAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
1.6-2.1+deb12u2· arm64 · bookworm-securityAffected · Fixed:
1.6-2.1+deb12u3nvd · jq · debian · bookworm; nvd · jq · debian · 12
[Debian 13 (Trixie)]
- [jq]Affected
Details (5)
1.7.1-6+deb13u2· amd64 · trixieAffected · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u2· arm64 · trixieAffected · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u3· amd64 · trixie-security · Historical versionFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u3· arm64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u4· amd64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
- [libjq1]Affected
Source package: [jq]
Details (5)
1.7.1-6+deb13u2· amd64 · trixieAffected · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u2· arm64 · trixieAffected · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u3· amd64 · trixie-security · Historical versionFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u3· arm64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u4· amd64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
- [libjq-dev]Affected
Source package: [jq]
Details (5)
1.7.1-6+deb13u2· amd64 · trixieAffected · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u2· arm64 · trixieAffected · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u3· amd64 · trixie-security · Historical versionFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u3· arm64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
1.7.1-6+deb13u4· amd64 · trixie-securityFixed · Fixed:
1.7.1-6+deb13u3nvd · jq · debian · 13
[openSUSE Tumbleweed]
- [libjq1]Unknown
Source package: [jq]
Details (1)
1.8.2-1.3· x86_64 · tumbleweedUnknown · Fixed:
1.8.1-3.1Version impact unknown
nvd · jq · opensuse · tumbleweed
- [libjq-devel]Unknown
Source package: [jq]
Details (1)
1.8.2-1.3· x86_64 · tumbleweedUnknown · Fixed:
1.8.1-3.1Version impact unknown
nvd · jq · opensuse · tumbleweed
- [jq]Fixed
Source package: [jq]
Details (1)
1.8.2-1.3· x86_64 · tumbleweedFixed · Fixed:
1.8.1-3.1nvd · jq · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_22705-1.json]
- [https://github.com/jqlang/jq/commit/e47e56d226519635768e6aab2f38f0ab037c09e5]
- [https://github.com/jqlang/jq/security/advisories/GHSA-q3h9-m34w-h76f]
- [https://lists.debian.org/debian-lts-announce/2026/10/msg00034.html]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-32316]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-32316]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-32316]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22664-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2983-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-32316]
- [https://osv.dev/vulnerability/USN-8202-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10850-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-32316]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32316.json]
- [https://ubuntu.com/security/notices/USN-8202-1]
[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)]