Description
jq is a command-line JSON processor. Version 1.7 is vulnerable to stack-based buffer overflow in builds using decNumber. Version 1.7.1 contains a patch for this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jqlang | jq | = 1.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jq | 1.7.1-1 | — |
| Debian 13 | jq | 1.7.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | jq | 1.7.1-2 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLES 15 SP6 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLES 15 SP5 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLES 15 SP4 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLES for SAP 15 SP5 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLES for SAP 15 SP4 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLE Micro 6.0 | jq | 1.7.1-1.1 | SUSE-SU-2026:23873-1 |
| SLE Micro 5.5 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLE Micro 5.4 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLE Micro 5.3 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLE HPC 15 SP5 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
| SLE HPC 15 SP4 | jq | 1.7.1-150000.3.25.1 | SUSE-SU-2026:4275-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | jq | 1.7.1-1.1 | openSUSE-SU-2024:13521-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | jq | 1.7.1-r0 | — |
| Alpine v3.23 | jq | 1.7.1-r0 | — |
| Alpine v3.22 | jq | 1.7.1-r0 | — |
| Alpine v3.19 | jq | 1.7.1-r0 | — |
Advisories 3
- SUSE-SU-2026:23873-1 Security update for jq SUSE / openSUSE Security Updates · Sep 28, 2026
- SUSE-SU-2026:4275-1 Security update for jq SUSE / openSUSE Security Updates · Sep 21, 2026
- openSUSE-SU-2024:13521-1 jq-1.7.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/jqlang/jq/security/advisories/GHSA-7hmr-442f-qc8j
- https://github.com/jqlang/jq/pull/2804
- https://github.com/jqlang/jq/commit/c9a51565214eece8f1053089739aea73145bfd6b
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64771
- http://www.openwall.com/lists/oss-security/2023/12/15/10