CVE-2025-1244
Emacs: shell injection vulnerability in gnu emacs via custom "man" uri scheme
Mitigation
- Upgrade emacs to 29.4.0 or later.
- Vendor 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.
Who should check
- Anyone running emacs < 29.4.0
- Anyone running Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 8.2 Advanced Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Telecommunications Update Service all versions
- Anyone running Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions all versions
- Anyone running Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions
Vulnerability facts
- Affected
- emacs < 29.4.0; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.4 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.8 Extended Update Support all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.2 Extended Update Support all versions; Red Hat Enterprise Linux 9.4 Extended Update Support all versions; Builds for Red Hat OpenShift 1.3.2 all versions; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 6
- Fixed in
- emacs 29.4.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 3.28% chance of exploitation in 30 days (percentile 89, 2026-11-26)
- CWE
- CWE-78
- Modified
Description
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 and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-1244. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-1244.md Affected: emacs < 29.4.0; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supp… Fixed in: emacs 29.4.0 Steps: 1. Search this machine and project for emacs, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Telecommunications Update Service: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2025:1915
- https://access.redhat.com/errata/RHSA-2025:1917
- https://access.redhat.com/errata/RHSA-2025:1961
- https://access.redhat.com/errata/RHSA-2025:1962
- https://access.redhat.com/errata/RHSA-2025:1963
- https://access.redhat.com/errata/RHSA-2025:1964
- https://access.redhat.com/errata/RHSA-2025:2022
- https://access.redhat.com/errata/RHSA-2025:2130
- https://access.redhat.com/errata/RHSA-2025:2157
- https://access.redhat.com/errata/RHSA-2025:2195
- https://access.redhat.com/errata/RHSA-2025:2754
Other
- https://access.redhat.com/security/cve/CVE-2025-1244
- https://bugzilla.redhat.com/show_bug.cgi?id=2345150
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=820f0793f0b46448928905552726c1f1b999062f
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66390
- https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1
- http://www.openwall.com/lists/oss-security/2025/03/01/2
- https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html
FAQ
Is CVE-2025-1244 being exploited?
There is no confirmed exploitation: CVE-2025-1244 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-1244?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-1244?
emacs < 29.4.0; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.2 Advanced Update Support all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.4 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 8.8 Extended Update Support all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.2 Extended Update Support all versions; Red Hat Enterprise Linux 9.4 Extended Update Support all versions; Builds for Red Hat OpenShift 1.3.2 all versions; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 6.
Is there a fix for CVE-2025-1244?
Yes. Fixed in emacs 29.4.0. Upgrade emacs to 29.4.0 or later. Vendor 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.
How do I check if I'm affected by CVE-2025-1244?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.