CVE-2025-1244 Emacs: shell injection vulnerability in gnu emacs via custom "man" uri scheme
Remote attackers can execute arbitrary shell commands by tricking users into visiting malicious websites or URLs that exploit Emacs' custom man URI scheme.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-1244?
CVE-2025-1244 is a high-severity command injection vulnerability in Builds for Red Hat OpenShift 1.3.2, published on 12 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2025-1244?
Linux distribution packages (40)
emacs AlmaLinux:8 | All versions | 1:26.1-13.el8_10 |
emacs-common AlmaLinux:8 | All versions | 1:26.1-13.el8_10 |
emacs-filesystem AlmaLinux:8 | All versions | 1:26.1-13.el8_10 |
emacs-lucid AlmaLinux:8 | All versions | 1:26.1-13.el8_10 |
emacs-nox AlmaLinux:8 | All versions | 1:26.1-13.el8_10 |
emacs-terminal AlmaLinux:8 | All versions | 1:26.1-13.el8_10 |
emacs AlmaLinux:9 | All versions | 1:27.2-11.el9_5.1 |
emacs-common AlmaLinux:9 | All versions | 1:27.2-11.el9_5.1 |
emacs-filesystem AlmaLinux:9 | All versions | 1:27.2-11.el9_5.1 |
emacs-lucid AlmaLinux:9 | All versions | 1:27.2-11.el9_5.1 |
emacs-nox AlmaLinux:9 | All versions | 1:27.2-11.el9_5.1 |
emacs Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-common Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-common-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-lucid Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-lucid-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-nox Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-nox-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs-terminal Red Hat:enterprise_linux:8::appstream | All versions | 1:26.1-13.el8_10 |
emacs Red Hat:enterprise_linux:8::baseos | All versions | 1:26.1-13.el8_10 |
emacs-filesystem Red Hat:enterprise_linux:8::baseos | All versions | 1:26.1-13.el8_10 |
emacs Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-common Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-common-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-filesystem Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-lucid Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-lucid-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-nox Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs-nox-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 1:27.2-11.el9_5.1 |
emacs Red Hat:rhel_aus:8.2::appstream | All versions | 1:26.1-5.el8_2.3 |
emacs-common Red Hat:rhel_aus:8.2::appstream | All versions | 1:26.1-5.el8_2.3 |
emacs-common-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 1:26.1-5.el8_2.3 |
emacs-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 1:26.1-5.el8_2.3 |
emacs-debugsource Red Hat:rhel_aus:8.2::appstream | All versions | 1:26.1-5.el8_2.3 |
emacs-lucid Red Hat:rhel_aus:8.2::appstream | All versions | 1:26.1-5.el8_2.3 |
emacs-lucid-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 1:26.1-5.el8_2.3 |
How do I fix CVE-2025-1244?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-1244 being exploited?
There is no known exploitation of CVE-2025-1244 in the wild and no public exploit code.
Sources
Also known as ALSA-2025:1915, ALSA-2025:1917, AZL-56713, AZL-56729, CLSA-2025-1753981054, CLSA-2025-1756317560 and 21 more.