CVE-2024-53920
[oss-security] Emacs arbitrary code execution: incomplete fix for CVE-2024-53920
- Severity
- high CVSS 7.8 (v3.1)
- Weakness
- CWE-94 Improper Control of Generation of Code ('Code Injection')
- Published
- 27 November 2024 by mitre
- First seen on our lists
- 23 July 2026
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.)
Our coverage
- Incomplete Emacs CVE-2024-53920 fix still allows code execution
- Emacs arbitrary code execution on file open hits 28.1 and later
On the lists
- emacs-macport: patch CVE-2024-53920 (#563602)
- [oss-security] Emacs arbitrary code execution: incomplete fix for CVE-2024-53920
- [oss-security] GNU Emacs vulnerability upon opening arbitrary file
- Re: Android binaries of Emacs 30.1 are available