CVE-2026-6861 Emacs: emacs: memory corruption vulnerability when processing svg css
A local attacker can cause denial of service or information disclosure in GNU Emacs by tricking a user into opening a malicious SVG file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-6861?
CVE-2026-6861 is a medium-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 22 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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: CWE-193
Which versions are affected by CVE-2026-6861?
It affects 1 product.
Linux distribution packages (1)
emacs openSUSE:Tumbleweed | All versions | 30.2-8.1 |
Products include Gnu Emacs.
How do I fix CVE-2026-6861?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-6861 being exploited?
There is no known exploitation of CVE-2026-6861 in the wild and no public exploit code.
Other vulnerabilities in Red Hat Enterprise Linux 10
Sources
Also known as AZL-84638, DEBIAN-CVE-2026-6861, GHSA-w658-hxq6-43mx, MGASA-2026-0213, OESA-2026-2129, OESA-2026-2130 and 6 more.