CVE-2023-27986
CVE-2023-27986 is a high-severity vulnerability in Gnu Emacs with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 0% (37th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-94
- Affected product: Gnu Emacs
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 unescaped double-quote characters. It is fixed in 29.0.90.
- How severe is CVE-2023-27986?
- CVE-2023-27986 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2023-27986 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (37th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-27986?
- CVE-2023-27986 affects Gnu Emacs. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-27986?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-27986 published?
- CVE-2023-27986 was published on 2023-03-09 and last updated on 2026-06-17.
References
- 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
- https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/
- https://www.openwall.com/lists/oss-security/2023/03/08/2
Affected products (1)
- cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*
More vulnerabilities in Gnu Emacs
- CVE-2007-6109 — Critical (CVSS 10.0): Stack-based buffer overflow in emacs allows user-assisted attackers to cause a denial of service (application crash)…
- CVE-2024-39331 — Critical (CVSS 9.8): In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an…
- CVE-2022-48337 — Critical (CVSS 9.8): GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file,…
- CVE-2012-0035 — Critical (CVSS 9.3): Untrusted search path vulnerability in EDE in CEDET before 1.0.1, as used in GNU Emacs before 23.4 and other products,…
- CVE-2017-14482 — High (CVSS 8.8): GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Content-Type:…
- CVE-2024-53920 — High (CVSS 7.8): In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion)…
All CVEs affecting Gnu Emacs →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.