CVE-2024-53920
Summary
| CVE | CVE-2024-53920 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-11-27 15:15:26 UTC |
| Updated | 2026-08-20 06:16:34 UTC |
| 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.) |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from ADP
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Problem Types: CWE-94 | n/a | CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS | [email protected] | git.savannah.gnu.org | Product |
| git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4 | [email protected] | git.savannah.gnu.org | Release Notes |
| git.savannah.gnu.org/cgit/emacs.git/tag | [email protected] | git.savannah.gnu.org | Product |
| yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mai... | [email protected] | yhetil.org | Mailing List |
| news.ycombinator.com/item | [email protected] | news.ycombinator.com | Issue Tracking |
| www.openwall.com/lists/oss-security/2026/08/20/3 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| lists.debian.org/debian-lts-announce/2025/02/msg00033.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avo... | [email protected] | eshelyaron.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.