CVE-2025-1244
Emacs: shell injection vulnerability in gnu emacs via custom "man" uri scheme
Reported by redhat · Published February 12, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| emacs-terminal | Amazon Linux | 1:28.2-3.amzn2023.0.10, 1:27.2-4.amzn2.0.7 |
| emacs | Amazon Linux | 1:28.2-3.amzn2023.0.10, 1:27.2-4.amzn2.0.7 |
| emacs-nox | Amazon Linux | 1:28.2-3.amzn2023.0.10, 1:27.2-4.amzn2.0.7 |
| emacs-filesystem | Amazon Linux | 1:28.2-3.amzn2023.0.10, 1:27.2-4.amzn2.0.7 |
| emacs-common | Amazon Linux | 1:28.2-3.amzn2023.0.10, 1:27.2-4.amzn2.0.7 |
| emacs | git.savannah.gnu.org | 29.4.0 |
| emacs-devel | Amazon Linux | 1:28.2-3.amzn2023.0.10, 1:27.2-4.amzn2.0.7 |
| emacs-lucid | Amazon Linux | 1:28.2-3.amzn2023.0.10, 1:27.2-4.amzn2.0.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 1:24.3-23.el7_9.2 |
| Red Hat | Red Hat Enterprise Linux 8 | 1:26.1-13.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8 | 1:26.1-13.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 1:26.1-5.el8_2.3 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 1:26.1-5.el8_4.3 |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 1:26.1-5.el8_4.3 |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 1:26.1-5.el8_4.3 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 1:26.1-7.el8_6.6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 1:26.1-7.el8_6.6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 1:26.1-7.el8_6.6 |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 1:26.1-10.el8_8.7 |
| Red Hat | Red Hat Enterprise Linux 9 | 1:27.2-11.el9_5.1 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 1:27.2-6.el9_0.2 |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 1:27.2-8.el9_2.2 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 1:27.2-10.el9_4.1 |
| Red Hat | Builds for Red Hat OpenShift 1.3.2 | 1.3.1-1741784043 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 10 |
…and 17 more
Timeline
- Feb 12, 2025 CVE Published
- Feb 12, 2025 PoC Published (14 in total, the first dated here)
- Feb 13, 2025 EPSS Score (30 in total, the first dated here)
- Mar 1, 2025 Coalition ESS Score (20 in total, the first dated here)
- Jun 2, 2026 Security Advisory (19 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (16 in total, the first dated here)
- Nov 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-1244
vulnetix vdb fixes CVE-2025-1244
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-1244/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:1915 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1917 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1961 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1962 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1963 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:1964 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:2022 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:2130 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:2157 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:2195 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:2754 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2345150 issue-trackingx_refsource_REDHAT
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66390 url
- https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1 url
- http://www.openwall.com/lists/oss-security/2025/03/01/2 url
- https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html url