Emacs: shell injection vulnerability in gnu emacs via custom "man" uri scheme
Summary
| CVE | CVE-2025-1244 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-02-12 15:15:18 UTC |
| Updated | 2026-06-29 21:16:32 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS: 0.026790000 probability, percentile 0.839530000 (date 2026-07-01)
Problem Types: CWE-78 | CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2025/03/01/2 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| access.redhat.com/errata/RHSA-2025:1963 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| debbugs.gnu.org/cgi/bugreport.cgi | af854a3a-2127-422b-91ae-364da2661108 | debbugs.gnu.org | |
| access.redhat.com/errata/RHSA-2025:1915 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2157 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2025-1244 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2195 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1962 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1961 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2130 | [email protected] | access.redhat.com | |
| lists.debian.org/debian-lts-announce/2025/02/msg00033.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| access.redhat.com/errata/RHSA-2025:2022 | [email protected] | access.redhat.com | |
| git.savannah.gnu.org/cgit/emacs.git/commit | [email protected] | git.savannah.gnu.org | |
| access.redhat.com/errata/RHSA-2025:2754 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:1917 | [email protected] | access.redhat.com | |
| git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS | af854a3a-2127-422b-91ae-364da2661108 | git.savannah.gnu.org | |
| access.redhat.com/errata/RHSA-2025:1964 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Vasilij Schneidermann (CODE WHITE) for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-02-12T07:05:48.841Z | Reported to Red Hat. |
| CNA | 2025-02-12T00:00:00.000Z | Made public. |
Workarounds
CNA: 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.
There are currently no legacy QID mappings associated with this CVE.