CVE-2023-27986
published high CVSS 3.1 · 7.8emacs: Emacs Lisp code injection via a crafted mailto URI
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-134 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | emacs | Fixed | 28.2-r6 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacsaarch64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| Amazon Linux | AL2023 | emacsaarch64 | Listed in advisory | Not stated | ALAS2023-2023-134 |
| Alpine Linux | v3.17 | emacs | Fixed | 28.2-r3 | Package fix record |
| Alpine Linux | v3.18 | emacs | Fixed | 28.2-r6 | Package fix record |
Show 36 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | emacs | Fixed | 28.2-r6 | Package fix record |
| Alpine Linux | v3.20 | emacs | Fixed | 28.2-r6 | Package fix record |
| Alpine Linux | v3.21 | emacs | Fixed | 28.2-r6 | Package fix record |
| Alpine Linux | v3.22 | emacs | Fixed | 28.2-r6 | Package fix record |
| Alpine Linux | v3.23 | emacs | Fixed | 28.2-r6 | Package fix record |
| Alpine Linux | v3.24 | emacs | Fixed | 28.2-r6 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacsppc64le | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacss390x | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacsx86_64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-elaarch64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-elppc64le | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-els390x | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-elx86_64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-elnaarch64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-elnppc64le | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-elns390x | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-elnx86_64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-infoaarch64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-infoppc64le | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-infos390x | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-infox86_64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-noxaarch64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-noxppc64le | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-noxs390x | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-noxx86_64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-x11aarch64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-x11ppc64le | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-x11s390x | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacs-x11x86_64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | etagsaarch64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | etagsppc64le | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | etagss390x | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | etagsx86_64 | Advisory build | 28.2-3.1 | OPENSUSE-SU-2024:12777-1 |
| Amazon Linux | AL2023 | emacsnoarch | Listed in advisory | Not stated | ALAS2023-2023-134 |
| Amazon Linux | AL2023 | emacssrc | Listed in advisory | Not stated | ALAS2023-2023-134 |
| Amazon Linux | AL2023 | emacsx86_64 | Listed in advisory | Not stated | ALAS2023-2023-134 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4- http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc
- [oss-security] 20230309 Re: Shell command and Emacs Lisp code injection in emacsclient-mail.desktop 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.openwall.com/lists/oss-security/2023/03/08/2
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 07ba744c3feb98bc923b760de95de8edd70f2d3b576f7a0d64a0d882df945cd7
- Ingested
- 23 Sep 2026, 08:07:35 UTC
- Source record
- Official CVE record