Out-of-bounds write in jq - CVE-2026-49839
Published: August 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to out-of-bounds write in the --rawfile handling in jv_load_file() when processing an attacker-controlled file. A remote attacker can supply a crafted oversized file to cause a denial of service.
User interaction is required to process the crafted file, and the heap-buffer-overflow occurs in assertion-disabled builds after a handled \"String too long\" error is reused as a string state.
Affected software
Debian Linux
openEuler
Anolis OS
LANTIME Operating System Firmware (LTOS)
jq (Debian package)
jq-doc
jq-devel
jq
jq-help
jq-debugsource
jq-debuginfo
How to mitigate CVE-2026-49839
LANTIME Operating System Firmware (LTOS) - update to 7.10.013
jq (Debian package) - update to 1.7.1-6+deb13u3
jq-doc - update to 1.8.2-1
jq-devel - update to 1.8.2-1
jq - update to 1.8.2-1
jq-help - update to 1.8.2-1
jq-devel - update to 1.8.2-1
jq-debugsource - update to 1.8.2-1
jq-debuginfo - update to 1.8.2-1
jq - update to 1.8.2-1