CVE-2024-53920
HIGH EPSS 40.6%
Published Nov 27, 20241y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
Published Nov 27, 2024 1y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
40.6% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-94 Improper Control of Generation of Code (Code Injection) Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| gnu | emacs | * | <30.1 |
References 7
- eshelyaron.com https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html
- git.savannah.gnu.org https://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92
- git.savannah.gnu.org https://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4
- git.savannah.gnu.org https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html
- news.ycombinator.com https://news.ycombinator.com/item?id=42256409
- yhetil.org https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.