CVE Vulnerabilities

CVE-2026-6861

Off-by-one Error

Published: Apr 22, 2026 | Modified: Jun 17, 2026
CVSS 3.x
7.1
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6.1 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A flaw was found in GNU Emacs. This vulnerability, a memory corruption issue, occurs when Emacs processes specially crafted SVG (Scalable Vector Graphics) CSS (Cascading Style Sheets) data. A local user could exploit this by convincing a victim to open a malicious SVG file, which may lead to a denial of service (DoS) or potentially information disclosure.

Weakness

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Affected Software

NameVendorStart VersionEnd Version
EmacsGnu28.1 (including)30.2 (including)
EmacsUbuntuquesting*
Emacs24Ubuntuesm-infra/xenial*
Xemacs21Ubuntuesm-apps/xenial*
Xemacs21Ubuntuquesting*
Xemacs21Ubuntuupstream*
Xemacs21-packagesUbuntuesm-apps/xenial*
Xemacs21-packagesUbuntuquesting*

Potential Mitigations

References