Vulnerability 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.)
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Emacs | < 30.1 |
Related Weaknesses (CWE)
References
- https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-toThird Party Advisory
- https://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92Product
- https://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4Release Notes
- https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1Product
- https://news.ycombinator.com/item?id=42256409Issue Tracking
- https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@maiMailing List
- https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html
FAQ
What is CVE-2024-53920?
CVE-2024-53920 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...
How severe is CVE-2024-53920?
CVE-2024-53920 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-53920?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Emacs.