RCE in GNU Emacs
CVE-2023-27985
emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailto: URI. This is related to lack of compliance with the Desktop Entry Specification. It is fixed in 29.0.90
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.011 (65.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 65.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: -0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.openwall.com/lists/oss-security/2023/03/08/2 (Patch, Mailing List)
- git.savannah.gnu.org/cgit/emacs.git/commit/ (Patch, Issue Tracking)
- debbugs.gnu.org/cgi/bugreport.cgi (Patch, Issue Tracking)
- www.openwall.com/lists/oss-security/2023/03/09/1 (mailing-list, Patch, Mailing List)
- www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/
Frequently asked questions
- What is CVE-2023-27985?
- CVE-2023-27985 is a high-severity vulnerability in GNU Emacs, classified under OS Command Injection. CVSS score: 7.8/10. Published 2023-03-09.
- How severe is CVE-2023-27985?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2023-27985 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.