CVE-2026-43894

jq: Wild stack write via signed-integer overflow in decNumber D2U() macro

CVE-2026-43894 is fixed in 4 products on 1 platform, first by DEBIAN-CVE-2026-43894, released May 27, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.2
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0016
4th percentile

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).

Where it's fixed

ProductFixed inFixReleased
Linux
jq · Debian 12.15 (bookworm) 1.6-2.1+deb12u2 DEBIAN-CVE-2026-43894 May 27, 2026
jq · Debian 13.5 (trixie) 1.7.1-6+deb13u3 DEBIAN-CVE-2026-43894 May 27, 2026
jq · Debian 14 1.8.1-6 DEBIAN-CVE-2026-43894 May 27, 2026
jq · amzn 2023 1.8.1-59.amzn2023 ALAS2023-2026-1815 Jun 8, 2026
jq · opensuse-leap 16.0 1.7.1-160000.3.1 OPENSUSE-SU-2026:21248-1 Jul 7, 2026
jq · sles 15.6 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1 Sep 21, 2026
jq · sles 15.7 1.7.1-150000.3.25.1 SUSE-SU-2026:4275-1 Sep 21, 2026
jq · sles 16.0 1.7.1-160000.3.1 SUSE-SU-2026:22566-1 Jul 7, 2026
jq-debuginfo · amzn 2023 1.8.1-59.amzn2023 ALAS2023-2026-1815 Jun 8, 2026
jq-debugsource · amzn 2023 1.8.1-59.amzn2023 ALAS2023-2026-1815 Jun 8, 2026
jq-devel · amzn 2023 1.8.1-59.amzn2023 ALAS2023-2026-1815 Jun 8, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.