CVEfocus › CVE database › CVE-2025-1244

CVE-2025-1244Emacs: shell injection vulnerability in gnu emacs via custom "man" uri scheme

CVSS 8.8 HighEPSS 3.3% (higher than 89% of CVEs)Published 2025-02-12Updated 2026-11-23Assigner: redhat

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.

CWE-78

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

27Fixed
11Fix pending
6Under investigation
8Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10xemacs21Fix pendingUBUNTU-CVE-2025-1244
Ubuntu 26.10xemacs21-packagesFix pendingUBUNTU-CVE-2025-1244
Ubuntu 26.04xemacs21Under investigationUBUNTU-CVE-2025-1244
Ubuntu 26.04xemacs21-packagesUnder investigationUBUNTU-CVE-2025-1244
Ubuntu 25.10emacsNot affected
vulnerable_code_not_present
Ubuntu 25.10xemacs21Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-1244
Ubuntu 25.10xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-1244
Ubuntu 24.04emacsFix pending1:29.3+1-1ubuntu2+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-1244
Ubuntu 24.04xemacs21Under investigationUBUNTU-CVE-2025-1244
Ubuntu 24.04xemacs21-packagesUnder investigationUBUNTU-CVE-2025-1244
Ubuntu 22.04emacsFix pending1:27.1+1-3ubuntu5.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-1244
Ubuntu 22.04xemacs21Under investigationUBUNTU-CVE-2025-1244
Ubuntu 22.04xemacs21-packagesUnder investigationUBUNTU-CVE-2025-1244
Ubuntu 20.04emacsFix pending1:26.3+1-1ubuntu2+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-1244
Ubuntu 20.04xemacs21Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-1244
Ubuntu 20.04xemacs21-packagesWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-1244
Ubuntu 18.04emacs25Fix pendingUBUNTU-CVE-2025-1244
Ubuntu 18.04xemacs21Fix pendingUBUNTU-CVE-2025-1244
Ubuntu 18.04xemacs21-packagesFix pendingUBUNTU-CVE-2025-1244
Ubuntu 16.04emacs24Fix pendingUBUNTU-CVE-2025-1244
Ubuntu 16.04xemacs21Fix pendingUBUNTU-CVE-2025-1244
Ubuntu 16.04xemacs21-packagesFix pendingUBUNTU-CVE-2025-1244
Debian 14emacsFixed1:30.1+1-1DEBIAN-CVE-2025-1244
Debian 13emacsFixed1:30.1+1-1DEBIAN-CVE-2025-1244
Debian 12emacsFixed1:28.2+1-15+deb12u4DEBIAN-CVE-2025-1244
Red Hat Enterprise Linux 10emacsNot affected
Red Hat Enterprise Linux 10emacs-commonNot affected
Red Hat Enterprise Linux 10emacs-filesystemNot affected
Red Hat Enterprise Linux 10emacs-lucidNot affected
Red Hat Enterprise Linux 10emacs-nwNot affected
Red Hat Enterprise Linux 9emacsFixed1:27.2-11.el9_5.1RHSA-2025:1915
Red Hat Enterprise Linux 9emacs-commonFixed1:27.2-11.el9_5.1RHSA-2025:1915
Red Hat Enterprise Linux 9emacs-filesystemFixed1:27.2-11.el9_5.1RHSA-2025:1915
Red Hat Enterprise Linux 9emacs-lucidFixed1:27.2-11.el9_5.1RHSA-2025:1915
Red Hat Enterprise Linux 9emacs-noxFixed1:27.2-11.el9_5.1RHSA-2025:1915
Red Hat Enterprise Linux 8emacsFixed1:26.1-13.el8_10RHSA-2025:1917
Red Hat Enterprise Linux 8emacs-commonFixed1:26.1-13.el8_10RHSA-2025:1917
Red Hat Enterprise Linux 8emacs-filesystemFixed1:26.1-13.el8_10RHSA-2025:1917
Red Hat Enterprise Linux 8emacs-lucidFixed1:26.1-13.el8_10RHSA-2025:1917
Red Hat Enterprise Linux 8emacs-noxFixed1:26.1-13.el8_10RHSA-2025:1917
Red Hat Enterprise Linux 8emacs-terminalFixed1:26.1-13.el8_10RHSA-2025:1917
Red Hat Enterprise Linux 6emacsWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-elWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-noxWill not fix
Out of support scope
AlmaLinux 9emacsFixed1:27.2-11.el9_5.1ALSA-2025:1915
AlmaLinux 9emacs-commonFixed1:27.2-11.el9_5.1ALSA-2025:1915
AlmaLinux 9emacs-filesystemFixed1:27.2-11.el9_5.1ALSA-2025:1915
AlmaLinux 9emacs-lucidFixed1:27.2-11.el9_5.1ALSA-2025:1915
AlmaLinux 9emacs-noxFixed1:27.2-11.el9_5.1ALSA-2025:1915
AlmaLinux 8emacsFixed1:26.1-13.el8_10ALSA-2025:1917
AlmaLinux 8emacs-commonFixed1:26.1-13.el8_10ALSA-2025:1917
AlmaLinux 8emacs-filesystemFixed1:26.1-13.el8_10ALSA-2025:1917
AlmaLinux 8emacs-lucidFixed1:26.1-13.el8_10ALSA-2025:1917
AlmaLinux 8emacs-noxFixed1:26.1-13.el8_10ALSA-2025:1917
AlmaLinux 8emacs-terminalFixed1:26.1-13.el8_10ALSA-2025:1917
Rocky Linux 9emacsFixed1:27.2-11.el9_5.1RLSA-2025:1915
Rocky Linux 8emacsFixed1:26.1-13.el8_10RLSA-2025:1917

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: There is no an existing or known mitigation for this issue without disabling part of the Emacs core functionality. However, by avoiding opening or view untrusted files, websites, HTTP URLs or other URI resources with Emacs would reduce or prevent the risk of performing this attack successfully.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.