Off-by-one in Emacs - CVE-2026-6861

 

Off-by-one in Emacs - CVE-2026-6861

Published: April 29, 2026


Vulnerability identifier: #VU128469
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-6861
CWE-ID: CWE-193
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Emacs
Software vendor:
GNU

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an off-by-one error within the svg_load_image() function in src/image.c when processing SVG CSS. A remote attacker can supply a specially crafted SVG image to the application and crash it. 


Remediation

Install updates from vendor's repository.

External links