{"id":"CVE-2024-53920","state":"PUBLISHED","title":"In 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 source code can trigger unsafe Lisp ","description":"In 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 source code can trigger unsafe Lisp macro expansion that allows attackers to execute arbitrary code. (This unsafe expansion also occurs if a user chooses to enable on-the-fly diagnosis that byte compiles untrusted Emacs Lisp source code.)","publishedAt":"2024-11-27T00:00:00.000Z","updatedAt":"2026-09-21T22:07:32.714Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4","https://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92","https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html","https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/","https://news.ycombinator.com/item?id=42256409","https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1","https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html","http://www.openwall.com/lists/oss-security/2026/08/20/3","http://www.openwall.com/lists/oss-security/2026/08/20/7","http://www.openwall.com/lists/oss-security/2026/09/14/1","http://www.openwall.com/lists/oss-security/2026/09/21/9"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/53xxx/CVE-2024-53920.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-53920","state":"PUBLISHED","datePublished":"2024-11-27T00:00:00.000Z","dateUpdated":"2026-09-21T22:07:32.714Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2024-11-25T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"In 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 source code can trigger unsafe Lisp macro expansion that allows attackers to execute arbitrary code. (This unsafe expansion also occurs if a user chooses to enable on-the-fly diagnosis that byte compiles untrusted Emacs Lisp source code.)"}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4"},{"url":"https://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92"},{"url":"https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html"},{"url":"https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/"},{"url":"https://news.ycombinator.com/item?id=42256409"},{"url":"https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-03-01T05:20:27.548Z"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"gnu","product":"emacs","defaultStatus":"unknown","versions":[{"version":"30.0.92","status":"affected"}],"cpes":["cpe:2.3:a:gnu:emacs:-:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-12-02T16:55:56.437957Z","id":"CVE-2024-53920","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-13T19:25:55.594Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html"},{"url":"http://www.openwall.com/lists/oss-security/2026/08/20/3"},{"url":"http://www.openwall.com/lists/oss-security/2026/08/20/7"},{"url":"http://www.openwall.com/lists/oss-security/2026/09/14/1"},{"url":"http://www.openwall.com/lists/oss-security/2026/09/21/9"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-09-21T22:07:32.714Z"}}]}}}