# CVE-2024-53920: 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…

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2024-11-27T00:00:00.000Z
- Modified: 2026-09-21T22:16:54.853Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnu emacs: 30.0.92; before 30.1

## References

- <https://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4> (release-notes)
- <https://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92> (product)
- <https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html> (third-party-advisory)
- <https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/> (mailing-list)
- <https://news.ycombinator.com/item?id=42256409> (issue-tracking)
- <https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1> (product)
- <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>

## Sources

- CVE List: [CVE-2024-53920](https://www.cve.org/CVERecord?id=CVE-2024-53920), CVE Terms of Use, modified 2026-09-21
- NVD: [CVE-2024-53920](https://nvd.nist.gov/vuln/detail/CVE-2024-53920), Public domain, modified 2026-09-21

---

Page: https://cve.day/CVE-2024-53920 · Whole record: https://cve.day/CVE-2024-53920.json · Rebuilt by cve.day 2026-11-25T22:58:49.497Z
