Off-by-one Error Affecting emacs package, versions <1:30.2+1-2ubuntu1+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.15% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-EMACS-16238797
  • published25 Sept 2026
  • disclosed22 Apr 2026

Introduced: 22 Apr 2026

CVE-2026-6861  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 emacs to version 1:30.2+1-2ubuntu1+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream emacs package and not the emacs package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1