CVE-2026-43894
Fixed in a distro release EPSS <1%CVSS 6.2
jq is a command-line JSON processor. In 1.8.1 and earlier, when decNumberFromString is given a number literal of INT_MAX-1 (2147483646) digits, the D2U() macro overflows during signed-int arithmetic. The wrapped negative value bypasses the heap-allocation size check, causes the function to use a 30-byte stack buffer, and then writes ≈715 million 16-bit units (≈1.4 GiB) at an offset 1.43 GiB below the stack frame. The written content is fully attacker-controlled (the parsed decimal digits, packed 3-per-unit).
Products: jqlang jq
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.22 | jq | 1.8.2-r0 |
| Alpine 3.23 | jq | 1.8.2-r0 |
| Alpine 3.24 | jq | 1.8.2-r0 |
| Amazon Linux 2023 | jq | 1.8.1-59.amzn2023 |
| Amazon Linux 2023 | jq-devel | 1.8.1-59.amzn2023 |
| Debian 12 | jq | 1.6-2.1+deb12u2 |
| Debian 13 | jq | 1.7.1-6+deb13u3 |
| Debian 14 | jq | 1.8.1-6 |
| Red Hat hummingbird 1 | jq | 0:1.8.2-0.1.hum1 |
| Red Hat hummingbird 1 | jq-devel | 0:1.8.2-0.1.hum1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Micro 5.3 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Micro 5.4 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Micro 5.5 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server 16.0 | jq | 1.7.1-160000.3.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | jq | 1.7.1-150000.3.25.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | jq | 1.7.1-160000.3.1 |
| SUSE Linux Micro 6.0 | jq | 1.7.1-1.1 |
| SUSE Linux Micro 6.1 | jq | 1.7.1-slfo.1.1_3.1 |
| SUSE Linux Micro 6.2 | jq | 1.7.1-160000.3.1 |
| Ubuntu 22.04 LTS | jq | no fix |
| Ubuntu 24.04 LTS | jq | no fix |
| Ubuntu 25.10 | jq | no fix |
| Ubuntu 26.04 LTS | jq | no fix |
| Ubuntu 26.10 | jq | no fix |
| Ubuntu Pro 14.04 LTS | jq | no fix |
| Ubuntu Pro 16.04 LTS | jq | no fix |
| Ubuntu Pro 18.04 LTS | jq | no fix |
| Ubuntu Pro 20.04 LTS | jq | no fix |
| openSUSE Leap 16.0 | jq | 1.7.1-160000.3.1 |
| openSUSE Tumbleweed | jq | 1.8.1-3.1 |