Vulnerabilities · 2023 · Gnu
CVE-2023-27985
Gnu Emacs vulnerability
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
Affected products
Emacs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Emacs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75f · Patch
- www.openwall.com/lists/oss-security/2023/03/09/1 · Patch
- debbugs.gnu.org/cgi/bugreport.cgi?bug=60204 · Patch
- www.openwall.com/lists/oss-security/2023/03/08/2 · Patch
- www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/
- nvd.nist.gov/vuln/detail/CVE-2023-27985
- cve.org/CVERecord?id=CVE-2023-27985
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.