Vulnerabilities · 2024 · Gnu
CVE-2024-53920
Gnu Emacs vulnerability
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 products
Emacs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Emacs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html · Third Party Advisory
- git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92
- git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4
- git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1
- news.ycombinator.com/item?id=42256409
- yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/
- lists.debian.org/debian-lts-announce/2025/02/msg00033.html
- www.openwall.com/lists/oss-security/2026/08/20/3
- nvd.nist.gov/vuln/detail/CVE-2024-53920
- cve.org/CVERecord?id=CVE-2024-53920
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.