# CVE-2023-27985: emacs: emacsclient-mail.desktop in Emacs 28.1 through 28.2 is vulnerable to shell command injections through a crafted mailt...

CVE-2023-27985 is fixed in 12 products on 1 platform, first by DEBIAN-CVE-2023-27985, released March 9, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-27985
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0108
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 9, 2023

## Description

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | emacs Debian 12.15 (bookworm) | 1:28.2+1-13 | [DEBIAN-CVE-2023-27985](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27985.md) | Mar 9, 2023 |
| Linux | emacs Debian 13.5 (trixie) | 1:28.2+1-13 | [DEBIAN-CVE-2023-27985](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27985.md) | Mar 9, 2023 |
| Linux | emacs Debian 14 | 1:28.2+1-13 | [DEBIAN-CVE-2023-27985](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27985.md) | Mar 9, 2023 |
| Linux | emacs amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-common amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-common-debuginfo amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-debuginfo amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-debugsource amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-devel amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-filesystem amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-lucid amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-lucid-debuginfo amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-nox amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-nox-debuginfo amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |
| Linux | emacs-terminal amzn 2023 | 1:28.2-3.amzn2023.0.4 | [ALAS2023-2023-134](https://patchblox.com/security/data/fix/linux/alas2023-2023-134.md) | Mar 20, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
