CVE-2023-27986: Code Injection

Published Mar 9, 2023
·
Updated

emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto: URI with unescaped double-quote characters. It is fixed in 29.0.90.

Affected Software

1 affected component
gnu Emacs>=28.1<=28.2

Event History

Mar 9, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-27986?

CVE-2023-27986 is a vulnerability in Emacs 28.1 through 28.2 that allows Emacs Lisp code injections through a crafted mailto: URI with unescaped double-quote characters.

2

How can attackers exploit CVE-2023-27986?

Attackers can exploit CVE-2023-27986 by sending a malicious mailto: URI with unescaped double-quote characters, which can execute arbitrary Emacs Lisp code.

3

What is the severity of CVE-2023-27986?

CVE-2023-27986 has a severity rating of high, with a CVSS severity value of 7.8.

4

How can I fix CVE-2023-27986?

You can fix CVE-2023-27986 by updating Emacs to version 29.0.90 or later where the vulnerability is fixed.

5

Are there any additional resources for CVE-2023-27986?

Yes, you can find additional resources about CVE-2023-27986 at the following URLs: [http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc](http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc), [http://www.openwall.com/lists/oss-security/2023/03/09/1](http://www.openwall.com/lists/oss-security/2023/03/09/1), [https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/](https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203