# CVE-2023-27986: emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to Emacs Lisp code injections through a crafted mailto: URI with unescape…

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2023-03-09T00:00:00.000Z
- Modified: 2026-06-17T05:46:19.067Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnu emacs: from 28.1 up to 28.2

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://www.openwall.com/lists/oss-security/2023/03/08/2> (mailing-list, patch)
- <http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc> (issue-tracking, patch)
- <http://www.openwall.com/lists/oss-security/2023/03/09/1> (mailing-list, patch)
- <https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/>

## Sources

- CVE List: [CVE-2023-27986](https://www.cve.org/CVERecord?id=CVE-2023-27986), CVE Terms of Use, modified 2025-03-05
- NVD: [CVE-2023-27986](https://nvd.nist.gov/vuln/detail/CVE-2023-27986), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-27986 · Whole record: https://cve.day/CVE-2023-27986.json · Rebuilt by cve.day 2026-11-25T22:58:22.341Z
