CVE-2024-53920

HIGH CVSS 3.1: 7.8 EPSS 0.60%
Updated Sep 22, 2026
Gnu
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 30.1
Fixed In 30.1
Type CWE-94 (Code Injection)
Vendor Gnu
Public PoC No

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.)

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gnu Emacs
cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*
— 30.1