CVE-2024-53920
HIGHGNU Emacs < 30.1 - Remote Code Execution via Unsafe Lisp Macro Expansion
Title source: llmDescription
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.)
References (7)
Core 7
Core References
Third Party Advisory
https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html
Issue Tracking
https://news.ycombinator.com/item?id=42256409
Scores
CVSS v3
7.8
EPSS
0.0005
EPSS Percentile
16.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (1)
gnu/emacs
< 30.1
Published
Nov 27, 2024
Tracked Since
Feb 18, 2026