Cloudanix VulnDB

CVE-2025-1244

High · 8.8

CVSS

8.8

EPSS

2.6%

Published

Feb 12, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in the Emacs editor could let someone run harmful commands on your computer if you visit a specially made website.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Remote Code Execution
Component
Application
Class
Command Injection
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw enables remote unauthenticated command injection, allowing arbitrary shell commands to be executed on the host system when Emacs processes specially crafted HTTP URLs or redirects.

Why it matters to the business

Attackers can achieve full system compromise on affected Emacs installations, resulting in data theft, persistence, or operational disruption; the moderate EPSS and lack of KEV listing indicate limited observed exploitation but still require prompt attention once patches are released.

How an attack unfolds

An attacker prepares a malicious website or HTTP redirect containing a crafted URL; when a user opens the link in Emacs the vulnerable text handling triggers command injection and executes attacker-supplied shell commands without authentication.

How to fix it

Upgrade Emacs to the first patched release addressing CVE-2025-1244 as soon as it becomes available; in the interim restrict Emacs from opening untrusted network links and consider disabling URL-handling features that invoke external commands.

How to confirm the fix worked

Confirm the installed Emacs version matches or exceeds the fixed release; re-test URL handling with known benign equivalents of the malicious redirect patterns to verify command injection is no longer possible.

Typical attack path

  1. Craft malicious website or HTTP redirect URL containing injection payload
  2. Social-engineer user into visiting the URL with Emacs
  3. Emacs processes the URL and executes injected shell commands
  4. Attacker obtains code execution and escalates to full host control

How to detect it

Inspect system and Emacs logs for unexpected shell or subprocess launches triggered by URL handling; correlate with user activity involving external links or redirects; look for post-exploitation artifacts such as new processes or network connections initiated by Emacs.

What your security team should do

  • Track upstream Emacs releases and apply the fix immediately upon availability
  • Educate users to avoid opening untrusted URLs inside Emacs
  • Add network-level controls that block or alert on suspicious redirects to Emacs clients
  • Review endpoint monitoring for any Emacs-launched shell processes that access external resources

The record

A command injection flaw was found in the text editor Emacs. It could allow a remote, unauthenticated attacker to execute arbitrary shell commands on a vulnerable system. Exploitation is possible by tricking users into visiting a specially crafted website or an HTTP URL with a redirect.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 emacs 0 1:26.1-13.el8_10
AlmaLinux:8 emacs-common 0 1:26.1-13.el8_10
AlmaLinux:8 emacs-filesystem 0 1:26.1-13.el8_10
AlmaLinux:8 emacs-lucid 0 1:26.1-13.el8_10
AlmaLinux:8 emacs-nox 0 1:26.1-13.el8_10
AlmaLinux:8 emacs-terminal 0 1:26.1-13.el8_10
AlmaLinux:9 emacs 0 1:27.2-11.el9_5.1
AlmaLinux:9 emacs-common 0 1:27.2-11.el9_5.1
AlmaLinux:9 emacs-filesystem 0 1:27.2-11.el9_5.1
AlmaLinux:9 emacs-lucid 0 1:27.2-11.el9_5.1
AlmaLinux:9 emacs-nox 0 1:27.2-11.el9_5.1
Debian:11 emacs 0 No fix
Debian:11 emacs 0 1:27.1+1-3.1+deb11u6
Debian:12 emacs 0 No fix
Debian:12 emacs 0 1:28.2+1-15+deb12u4
Debian:13 emacs 0 No fix
Mageia:9 emacs 0 29.4-1.3.mga9
SUSE:Enterprise Storage 7.1 emacs 0 25.3-150000.3.25.3
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS emacs 0 25.3-150000.3.25.3
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise Module for Basesystem 15 SP6 emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise Server 12 SP5-LTSS emacs 0 24.3-25.23.1
SUSE:Linux Enterprise Server 15 SP3-LTSS emacs 0 25.3-150000.3.25.3
SUSE:Linux Enterprise Server 15 SP4-LTSS emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise Server 15 SP5-LTSS emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 emacs 0 24.3-25.23.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 emacs 0 25.3-150000.3.25.3
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 emacs 0 27.2-150400.3.23.2
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 emacs 0 27.2-150400.3.23.2
SUSE:Manager Proxy 4.3 emacs 0 27.2-150400.3.23.2
SUSE:Manager Server 4.3 emacs 0 27.2-150400.3.23.2
openSUSE:Leap 15.6 emacs 0 27.2-150400.3.23.2
openSUSE:Tumbleweed emacs 0 29.4-14.1

Related vulnerabilities