CVE-2024-53920: In elisp-mode.el in GNU Emacs before 30.1, a user who chooses to invoke elisp-completion-at-point (for code...
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.)
Security readout for executives and security teams
Plain-English summary
GNU Emacs versions before 30.1 can run attacker-controlled code when a user applies certain development features to an untrusted Emacs Lisp file. Exploitation requires user interaction, but successful execution can compromise the user's files, credentials, and workstation under that user's privileges.
Executive priority
Prioritize developer, operations, and administrator endpoints because their accounts may hold source code, credentials, or production access. Patch promptly, while applying temporary workflow restrictions where upgrades require testing. Broad emergency response is not supported without evidence of exposure or exploitation.
Technical view
Unsafe Lisp macro expansion in elisp-mode.el affects elisp-completion-at-point and on-the-fly diagnosis that byte-compiles untrusted Emacs Lisp. The issue is classified as CWE-94 and CVSS 3.1 7.8, requiring local access and user interaction while potentially affecting confidentiality, integrity, and availability.
Likely exposure
Exposure is most likely on developer or administrator workstations running GNU Emacs before 30.1 where users inspect untrusted Emacs Lisp and invoke code completion or relevant on-the-fly diagnostics. Systems not processing untrusted Lisp through these features have lower practical exposure.
Exploitation context
The supplied sources do not establish active exploitation, and the CVE is not listed as KEV. Exploitation requires persuading a user to process malicious Emacs Lisp with an affected feature; merely identifying the file as untrusted does not make these operations safe.
Researcher notes
The CVSS vector is AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The vulnerable behavior crosses a trust boundary through macro expansion during editor assistance rather than ordinary intentional evaluation. Available evidence identifies GNU Emacs before 30.1; downstream distribution backport status must be verified separately.
Mitigation direction
Upgrade GNU Emacs to 30.1 or a vendor package containing the security backport.
Until updated, avoid code completion on untrusted Emacs Lisp source files.
Disable on-the-fly diagnostics that byte-compile untrusted Emacs Lisp.
Check operating-system vendor guidance for supported package versions and backports.
Validation and detection
Inventory installed GNU Emacs versions and flag releases earlier than 30.1.
Confirm vendor-packaged Emacs builds include the CVE-2024-53920 security backport.
Review configurations for automatic diagnostics or byte compilation of Emacs Lisp.
Identify users who recently processed externally sourced Emacs Lisp and review relevant endpoint telemetry.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
8Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-94 · source CWE mapping
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.