Name | CVE-2025-1244 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4069-1, DSA-5871-1 |
Debian Bugs | 1098255 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
emacs (PTS) | bullseye | 1:27.1+1-3.1+deb11u5 | vulnerable |
| bullseye (security) | 1:27.1+1-3.1+deb11u6 | fixed |
| bookworm, bookworm (security) | 1:28.2+1-15+deb12u4 | fixed |
| trixie | 1:30.1+1-6 | fixed |
| forky, sid | 1:30.1+1-9 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://debbugs.gnu.org/66390
Fixed by: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=820f0793f0b46448928905552726c1f1b999062f
https://emacsninja.com/posts/cve-2025-1244-from-emacs-url-handler-to-rce.html