Skip to main content

GNU Emacs CVE-2026-96269

| EUVDEUVD-2026-84868 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-09-22 mitre GHSA-29x7-3q83-3x3v
7.5
CVSS 4.0 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft file with untrusted read-symbol-shorthands
  2. Delivery
    Deliver via repo or attachment
  3. Exploit
    Victim opens file in Emacs
  4. Execution
    intern/unintern process poisoned value
  5. Impact
    Arbitrary code execution as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Requires the victim to open an attacker-supplied file in GNU Emacs versions 28.1 through 31.1; no non-default settings are needed because the flaw affects the default configuration via an untrusted read-symbol-shorthands value influencing the intern/unintern functions. The limiting factor is delivery and interaction: the attacker must get the victim to open the crafted file (local file vector, AV:L), and exploitation is bounded to the privileges of the user running Emacs. No network service, listener, or authentication is involved, and no in-the-wild exploitation is evidenced.

Impact

This is a genuine high-priority flaw despite modest signals. The core danger: arbitrary code execution simply from opening a file, in the DEFAULT configuration with no special user settings required, across a wide version band (Emacs 28.1-31.1). The vendor/MITRE CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) yields 7.5 with full CIA impact. Two vector points warrant scrutiny: the description says exploitation occurs 'upon opening a file,' which is user interaction, yet the vector sets UI:N - the malicious-file requirement appears to have been folded into AT:P (attack requirement present) instead of UI, so verify the interaction assumption with the vendor. AV:L is appropriate because the trigger is a locally opened file rather than a remote network request. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active or automated exploitation at this time - the risk is driven by ease of the underlying primitive (untrusted read-symbol-shorthands corrupting intern/unintern) and default-config exposure, not by observed in-the-wild activity. Net: a real code-execution bug that developers who open untrusted files/repos should patch promptly, but currently 'attacker must get you to open a file' rather than mass-exploitable.

Exploit ScenarioDerived

An attacker crafts a malicious source or text file that embeds an untrusted read-symbol-shorthands value; when a victim opens the file in a default Emacs (28.1-31.1) installation, the poisoned value influences the intern/unintern functions and executes attacker-controlled code in the victim's session. Delivery is realistic via a shared repository, email attachment, or downloaded project that a developer opens. No public exploit code was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Arbitrary code execution in GNU Emacs 28.1 through 31.1 is triggered simply by opening a crafted file: an untrusted read-symbol-shorthands value supplied by that file reaches the Lisp reader's intern and unintern functions and is honored under Emacs's default configuration, so no special user settings or opt-ins are required. Exploitation is bounded by delivery - the attacker must get a victim to open the malicious file locally (AV:L with UI:R), and any resulting code executes with the privileges of the user running Emacs; no network service, listener, or authentication is involved. The issue carries a CVSS 4.0 score of 7.5 and is assessed under CVSS 3.1 as AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, with high confidentiality, integrity, and availability impact and no public exploit identified at time of analysis.

RemediationAI

No vendor-released patch version was identified at time of analysis; the available references are upstream discussion threads (https://yhetil.org/emacs/jwvtsph1aoj.fsf-monnier+emacs@gnu.org/T/#m319545e835fb71d764bf868166632d4633167a75 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=80574#227) rather than a tagged fixed release, so track the GNU Emacs repository and those threads for the exact first patched version before deploying upgrades. Until a fix is available, the most direct compensating control is to stop Emacs from applying untrusted per-file settings: set enable-local-variables to nil (or otherwise prevent automatic local-variable application) so a crafted read-symbol-shorthands value is never honored - the trade-off is that legitimate per-file settings such as coding systems, syntax tables, and project-local variables will no longer be applied automatically and users will have to set them manually. A narrower alternative is to add read-symbol-shorthands to the list of ignored local variables, which preserves other local-variable functionality at the cost of breaking files that legitimately rely on shorthands. Because exploitation requires opening a malicious file, treat unknown or externally sourced files as untrusted: open them in a sandboxed or containerized Emacs running as a low-privilege dedicated account with restricted filesystem access and no network egress, or inspect them with a non-Emacs viewer or a batch-mode process that does not evaluate buffer-local settings. Restricting the blast radius of the Emacs process (no SSH keys, cloud credentials, or source repositories readable) is worthwhile because code execution runs with the invoking user's privileges, and because the flaw is reachable in the default configuration, per-file warnings or user caution alone are not reliable mitigation.

Affected VersionsENISA

emacs 28.1 ≤31.1

Affected Packages

euvd emacs no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The bug is a CWE-829 (Inclusion of Functionality from Untrusted Control Sphere) flaw in GNU Emacs's handling of file-local variables, and specifically in the read-symbol-shorthands mechanism introduced in Emacs 28 to let a Lisp file define short symbol prefixes for its own buffer. When Emacs opens a file it parses the file's local-variables block (and first-line cookie) and applies the declared values; a crafted file can therefore hand Emacs an attacker-chosen read-symbol-shorthands value, which flows into the reader's intern and unintern primitives and enables arbitrary code execution without any non-default configuration. The affected CPE, cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*, identifies the GNU Emacs product family, and the reported range is Emacs 28.1 through 31.1 - that is, every release since shorthands were added, including current ones. The problem is not a memory-safety defect in the C core but a trust-boundary failure in the Lisp layer: file content is treated as trusted input to the symbol reader and to variable application logic, so the editor executes functionality that originated outside the user's control sphere. Upstream discussion is tracked in the emacs-devel mailing-list thread and in GNU debbugs report 80574 referenced for this CVE.

Know when Emacs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

Trigger is a locally opened malicious file (AV:L, UI:R) requiring no privileges or special config in default Emacs, yielding full code execution in the user's context (C/I/A:H).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 7.8 HIGH

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

GNU Emacs 28.1 through 31.1 allows arbitrary code execution upon opening a file, because an untrusted value of read-symbol-shorthands affects the intern and unintern functions. This affects the default configuration; no particular user settings are required to trigger it.

Executive ViewAI

Why It Matters

GNU Emacs versions 28.1 through 31.1 - a developer and system-administrator tool present on many engineering and IT workstations - can execute attacker-supplied code as soon as a crafted file is opened, with no configuration change, prompt, or opt-in required from the user. The exposure is limited to local file delivery rather than a network-facing service, but any employee who opens a malicious file inherits code execution under their own account privileges, putting credentials, source code, and local data at risk. There is no public exploit identified at time of analysis and no vendor-released patch identified at time of analysis, so risk must be managed through file-handling policy and interim controls in the near term.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling or neutralizing read-symbol-shorthands handling (such as adding it to ignored-local-variables or setting enable-local-variables to :safe or :null) via site-wide configuration, launching Emacs in restricted or batch modes for untrusted content, opening suspicious files only in isolated sandboxes or plain-text viewers, blocking Emacs-related file types at email and web gateways where business-feasible, enforcing least privilege so code executes without administrative rights, and deploying endpoint detection for Emacs spawning shells, interpreters, or network tools.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
GNU Emacs is widely used among developers but not on every host
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Emacs

View all
CVE-2012-0035 CRITICAL
9.3 Jan 19

Untrusted search path vulnerability in EDE in CEDET before 1.0.1, as used in GNU Emacs before 23.4 and other products, a

CVE-2024-39331 CRITICAL
9.8 Jun 23

In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe

CVE-2017-14482 HIGH
8.8 Sep 14

GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Content-Type: text/enric

CVE-2024-53920 HIGH
7.8 Nov 27

In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion)

CVE-2026-108976 HIGH
7.8 Oct 11

OS command injection in GNU Emacs's TRAMP remote-file library (Emacs releases before 31.2, TRAMP through 2.8.2) lets an

CVE-2026-96442 HIGH
7.8 Sep 23

Code execution in GNU Emacs versions prior to 31.2 occurs when Flymake performs on-the-fly syntax checking with a langua

CVE-2024-30202 HIGH
7.8 Mar 25

In Emacs before 29.3, arbitrary Lisp code is evaluated as part of turning on Org mode. Rated high severity (CVSS 7.8), t

CVE-2023-2491 HIGH
7.8 May 17

A flaw was found in the Emacs text editor. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity.

CVE-2023-27986 HIGH
7.8 Mar 09

emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto

CVE-2023-27985 HIGH
7.8 Mar 09

emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto:

CVE-2022-45939 HIGH
7.8 Nov 28

GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file,

CVE-2014-9483 HIGH
7.5 Aug 28

Emacs 24.4 allows remote attackers to bypass security restrictions. Rated high severity (CVSS 7.5), this vulnerability i

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy