{"api_version":"1","generated_at":"2026-04-23T06:19:59+00:00","cve":"CVE-2023-27986","urls":{"html":"https://cve.report/CVE-2023-27986","api":"https://cve.report/api/cve/CVE-2023-27986.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-27986","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-27986"},"summary":{"title":"CVE-2023-27986","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-03-09 06:15:00","updated_at":"2023-06-09 06:16:00"},"problem_types":["CWE-94"],"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=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc","name":"http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc","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://www.cve.org/CVERecord?id=CVE-2023-27986","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27986","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"27986","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-27986","qid":"183276","title":"Debian Security Update for emacs (CVE-2023-27986)"},{"cve":"CVE-2023-27986","qid":"355108","title":"Amazon Linux Security Advisory for emacs : ALAS2023-2023-134"},{"cve":"CVE-2023-27986","qid":"502849","title":"Alpine Linux Security Update for emacs"},{"cve":"CVE-2023-27986","qid":"503182","title":"Alpine Linux Security Update for emacs"},{"cve":"CVE-2023-27986","qid":"506042","title":"Alpine Linux Security Update for emacs"},{"cve":"CVE-2023-27986","qid":"906686","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for emacs (25603-3)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2023-27986","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 Emacs Lisp code injections through a crafted mailto: URI with unescaped double-quote characters. 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=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc","refsource":"MISC","name":"http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=3c1693d08b0a71d40a77e7b40c0ebc42dca2d2cc"},{"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 06:16:00","problem_types":["CWE-94"],"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":[]}}}