cve.bz

CVE-2026-6861 gnu emacs: Off-by-one Error

7.1 highEPSS 0.1%

High (7.1) in gnu emacs. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 1st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6861 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6861?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6861?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6861 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-6861

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-6861](https://cve.bz/cve/badge/CVE-2026-6861.svg)](https://cve.bz/cve/CVE-2026-6861)

HTML:

<a href="https://cve.bz/cve/CVE-2026-6861"><img src="https://cve.bz/cve/badge/CVE-2026-6861.svg" alt="CVE-2026-6861"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:emacsfrom 28.1 through 30.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12emacsno fix listedDEBIAN-CVE-2026-6861
Debian13emacs1:30.1+1-6+deb13u1DEBIAN-CVE-2026-6861
Debian14emacs1:30.2+1-3DEBIAN-CVE-2026-6861
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 3 morexemacs21, xemacs21-packagesno fix listedUBUNTU-CVE-2026-6861
Ubuntu25.10, 26.10emacs, xemacs21, xemacs21-packagesno fix listedUBUNTU-CVE-2026-6861
UbuntuPro:18.04:LTSemacs25no fix listedUBUNTU-CVE-2026-6861
UbuntuPro:24.04:LTSemacs1:29.3+1-1ubuntu2+esm4UBUNTU-CVE-2026-6861 USN-8835-1
UbuntuPro:26.04:LTSemacs1:30.2+1-2ubuntu1+esm1UBUNTU-CVE-2026-6861 USN-8835-1
openSUSETumbleweedemacs30.2-8.1openSUSE-SU-2026:10619-1
Azure Linux3emacs29.4-4AZL-84638

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact vulnerability in Emacs affects Red Hat Enterprise Linux 8, 9, and 10. The flaw, an off-by-one heap buffer overflow and uninitialized read, occurs when processing specially crafted SVG CSS. Exploitation requires a user to open a malicious SVG CSS file with Emacs.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10emacsUnder investigation
Red Hat Enterprise Linux 6emacsUnder investigation
Red Hat Enterprise Linux 7emacsUnder investigation
Red Hat Enterprise Linux 8emacsUnder investigation
Red Hat Enterprise Linux 9emacsUnder investigation

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6861.

References

Check your stackJSON