Out-of-bounds write in jq - CVE-2026-43894

 

Out-of-bounds write in jq - CVE-2026-43894

Published: May 11, 2026 / Updated: August 19, 2026


Vulnerability identifier: #VU130926
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-43894
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds write in decNumber D2U() macro in decNumberFromString when processing an extremely large decimal string via tonumber. A remote attacker can supply a specially crafted number string to cause a denial of service.

The issue is triggered by signed integer overflow and is reachable through tonumber on a string built via the multiplication operator rather than through raw JSON number parsing.


Affected software

jq
Debian Linux
openEuler
Anolis OS
LANTIME Operating System Firmware (LTOS)
jq (Debian package)
jq-devel
jq
jq-help
jq-debugsource
jq-debuginfo
jq-doc

How to mitigate CVE-2026-43894

Install update from vendor's website.

jq - update to 1.8.2
LANTIME Operating System Firmware (LTOS) - update to 7.10.013
jq (Debian package) - addressed in versions 1.6-2.1+deb11u3, 1.6-2.1+deb12u2, 1.7.1-6+deb13u3
jq-devel - update to 1.8.0-4
jq - update to 1.8.0-4
jq-help - update to 1.8.0-4
jq-debugsource - update to 1.8.0-4
jq-debuginfo - update to 1.8.0-4
jq-devel - update to 1.8.1-8
jq-doc - update to 1.8.1-8
jq - update to 1.8.1-8

External References

Related Security Bulletins