
CVE catalog
CVE-2026-41257
jq is a command-line JSON processor. In 1.8.1 and earlier, the jq bytecode VM's data stack tracks its allocation size in a signed int. When the stack grows beyond ≈1 GiB (via deeply nested generator f
- Severity
- High · CVSS 7
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 2026
jq is a command-line JSON processor. In 1.8.1 and earlier, the jq bytecode VM's data stack tracks its allocation size in a signed int. When the stack grows beyond ≈1 GiB (via deeply nested generator forks), the doubling arithmetic overflows. The wrapped value is passed to realloc and then used for a memmove with attacker-influenced offsets.
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 | Not reported | unknown |
| 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 |
| Cpe | jq | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | jq | source | sid | 1.8.1-6 | not yet assigned | Not reported | [1136445] |
| Debian | jq | source | forky | 1.8.1-6 | not yet assigned | Not reported | [1136445] |
| Debian | jq | source | trixie | 1.7.1-6+deb13u3 | not yet assigned | Not reported | [1136445] |
| Debian | jq | source | bookworm | 1.6-2.1+deb12u2 | not yet assigned | Not reported | [1136445] |
| 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-41257 | Not reported |
| Alpine | jq | apk | 3.23 | 1.8.2-r0 | Not reported | ALPINE-CVE-2026-41257 | Not reported |
| Alpine | jq | apk | 3.24 | 1.8.2-r0 | Not reported | ALPINE-CVE-2026-41257 | Not reported |
OpenFactory catalog packages
[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
[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
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_22545-1.json]
- [https://github.com/jqlang/jq/security/advisories/GHSA-4jm8-m363-4539]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41257]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-41257]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41257]
- [https://security-tracker.debian.org/tracker/CVE-2026-41257]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41257.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1469.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]