← Vulnerability feed

Vulnerability record · CVE-2023-27985 · published 9 March 2023

CVE-2023-27985: Gnu emacs os command injection vulnerability

Gnu · Emacs

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

7.8 CVSS 3.1 High EPSS 1.1% · top 36.0% CWE-78 · OS command injection
7.8CVSS 3.1 base score
1.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

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

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-27985 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2007-6109Gnu emacs memory buffer overflow vulnerabilityStack-based buffer overflow in emacs allows user-assisted attackers to cause a denial of service (application crash) and possibly have unspecified ot…EPSS 3.0%9.8CVE-2024-39331Gnu emacs code injection vulnerabilityIn Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-comm…EPSS 1.3%9.8CVE-2022-48337Gnu emacs os command injection vulnerabilityGNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses …EPSS 1.6%9.3CVE-2012-0035Eric m ludlam cedet vulnerabilityUntrusted search path vulnerability in EDE in CEDET before 1.0.1, as used in GNU Emacs before 23.4 and other products, allows local users to gain pri…EPSS 2.3%8.8CVE-2017-14482Gnu emacs vulnerabilityGNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted "Content-Type: text/enriched" data containing an x-dis…EPSS 4.0%7.8CVE-2024-53920Gnu emacs code injection vulnerabilityIn elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code completion) on untrusted Emacs Lisp sourc…EPSS 0.60%7.8CVE-2024-30202Gnu emacs code injection vulnerabilityIn Emacs before 29.3, arbitrary Lisp code is evaluated as part of turning on Org mode. This affects Org Mode before 9.6.23.EPSS 1.1%7.8CVE-2023-2491Gnu emacs command injection vulnerabilityA flaw was found in the Emacs text editor. Processing a specially crafted org-mode code with the "org-babel-execute:latex" function in ob-latex.el ca…EPSS 0.46%

Source: NIST National Vulnerability Database (record CVE-2023-27985), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.