{"api_version":"1","generated_at":"2026-04-23T06:21:46+00:00","cve":"CVE-2023-27985","urls":{"html":"https://cve.report/CVE-2023-27985","api":"https://cve.report/api/cve/CVE-2023-27985.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-27985","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-27985"},"summary":{"title":"CVE-2023-27985","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","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-03-09 06:15:00","updated_at":"2023-06-09 07:15:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/","name":"https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/","refsource":"MISC","tags":[],"title":"Shell command and Emacs Lisp injection in emacsclient-mail.desktop - /dev/posts/","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.openwall.com/lists/oss-security/2023/03/08/2","name":"https://www.openwall.com/lists/oss-security/2023/03/08/2","refsource":"MISC","tags":[],"title":"oss-security - Shell command and Emacs Lisp code injection in\n emacsclient-mail.desktop","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467","name":"http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467","refsource":"MISC","tags":[],"title":"emacs.git - Emacs source repository","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2023/03/09/1","name":"[oss-security] 20230309 Re: Shell command and Emacs Lisp code injection in emacsclient-mail.desktop","refsource":"MLIST","tags":[],"title":"oss-security - Re: Shell command and Emacs Lisp code injection in\n emacsclient-mail.desktop","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204","name":"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204","refsource":"MISC","tags":[],"title":"#60204 - 28.2; Invalid Exec key in etc/emacsclient-mail.desktop - GNU bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-27985","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27985","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"27985","vulnerable":"1","versionEndIncluding":"28.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnu","cpe5":"emacs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-27985","qid":"183175","title":"Debian Security Update for emacs (CVE-2023-27985)"},{"cve":"CVE-2023-27985","qid":"355108","title":"Amazon Linux Security Advisory for emacs : ALAS2023-2023-134"},{"cve":"CVE-2023-27985","qid":"502848","title":"Alpine Linux Security Update for emacs"},{"cve":"CVE-2023-27985","qid":"503181","title":"Alpine Linux Security Update for emacs"},{"cve":"CVE-2023-27985","qid":"506041","title":"Alpine Linux Security Update for emacs"},{"cve":"CVE-2023-27985","qid":"906645","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for emacs (25581-3)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2023-27985","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://www.openwall.com/lists/oss-security/2023/03/08/2","refsource":"MISC","name":"https://www.openwall.com/lists/oss-security/2023/03/08/2"},{"url":"http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467","refsource":"MISC","name":"http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=d32091199ae5de590a83f1542a01d75fba000467"},{"url":"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204","refsource":"MISC","name":"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60204"},{"refsource":"MLIST","name":"[oss-security] 20230309 Re: Shell command and Emacs Lisp code injection in emacsclient-mail.desktop","url":"http://www.openwall.com/lists/oss-security/2023/03/09/1"},{"refsource":"MISC","name":"https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/","url":"https://www.gabriel.urdhr.fr/2023/06/08/emacsclient-mail-shell-elisp-injections/"}]}},"nvd":{"publishedDate":"2023-03-09 06:15:00","lastModifiedDate":"2023-06-09 07:15:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*","versionStartIncluding":"28.1","versionEndIncluding":"28.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}