Integer overflow in jq - CVE-2026-41257
Published: April 25, 2026 / Updated: August 19, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to integer overflow in stack_reallocate in the jq VM stack when processing deeply nested generator forks. A local user can supply crafted jq input to trigger signed integer overflow and abort the process to cause a denial of service.
In the observed case, the wrapped allocation size causes memory allocation failure and process abort. A small positive truncation may also lead to a wild memmove write before the buffer.
Affected software
Debian Linux
openEuler
Anolis OS
Fedora
LANTIME Operating System Firmware (LTOS)
jq (Debian package)
jq-help
jq-devel
jq-debugsource
jq-debuginfo
jq
jq-doc
How to mitigate CVE-2026-41257
LANTIME Operating System Firmware (LTOS) - update to 7.10.013
jq (Debian package) - update to 1.7.1-6+deb13u3
jq-help - update to 1.8.0-4
jq-devel - update to 1.8.0-4
jq-debugsource - update to 1.8.0-4
jq-debuginfo - update to 1.8.0-4
jq - update to 1.8.0-4
jq - update to 1.8.1-8
jq-doc - update to 1.8.1-8
jq-devel - update to 1.8.1-8
jq - update to 1.8.2-4.fc45
External References
Related Security Bulletins
- Multiple vulnerabilities in jq
- Anolis OS update for jq
- Multiple vulnerabilities in Meinberg LANTIME firmware
- Debian update for jq
- Fedora 45 update for jq
- openEuler 24.03 LTS SP3 update for jq
- openEuler 24.03 LTS update for jq
- openEuler 22.03 LTS SP4 update for jq
- openEuler 20.03 LTS SP4 update for jq
- openEuler 24.03 LTS SP1 update for jq