CVE-2024-53920: gnu emacs Code Injection
Vulnerability summary
CVE-2024-53920 is a high (CVSS 7.8) Code Injection vulnerability in gnu emacs. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 47.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 27-11-2024PublishedVulnerability first disclosed.
- 21-09-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 5 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
-0.04 pp
From 0.64% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse14 products
- emacs&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 27.2-150400.3.20.2 | < 27.2-150400.3.26.1
- emacs&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 27.2-150400.3.20.2 | < 27.2-150400.3.26.1
- emacs&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 27.2-150400.3.26.1
- emacs&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 27.2-150400.3.26.1
- emacs&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 27.2-150400.3.20.2
Redhat11 products
- emacs< 1:26.1-15.el8_10 | < 1:27.2-11.el9_5.2 | < 1:27.2-10.el9_4.2 | < 1:27.2-8.el9_2.3 | < 1:27.2-14.el9_6.2
- emacs-common< 1:26.1-15.el8_10 | < 1:27.2-11.el9_5.2 | < 1:27.2-10.el9_4.2 | < 1:27.2-8.el9_2.3 | < 1:27.2-14.el9_6.2
- emacs-common-debuginfo< 1:26.1-15.el8_10 | < 1:27.2-11.el9_5.2 | < 1:27.2-10.el9_4.2 | < 1:27.2-8.el9_2.3 | < 1:27.2-14.el9_6.2
- emacs-debuginfo< 1:26.1-15.el8_10 | < 1:27.2-11.el9_5.2 | < 1:27.2-10.el9_4.2 | < 1:27.2-8.el9_2.3 | < 1:27.2-14.el9_6.2
- emacs-debugsource< 1:26.1-15.el8_10 | < 1:27.2-11.el9_5.2 | < 1:27.2-10.el9_4.2 | < 1:27.2-8.el9_2.3 | < 1:27.2-14.el9_6.2
Ubuntu5 products
- emacs< 1:26.3+1-1ubuntu2+esm2 | < 1:27.1+1-3ubuntu5.2+esm1 | < 1:29.3+1-1ubuntu2+esm3
- emacs24All versions (No fix recorded)
- emacs25All versions (No fix recorded)
- xemacs21All versions (No fix recorded)
- xemacs21-packagesAll versions (No fix recorded)
Opensuse3 products
- emacs&distro=openSUSE Leap 15.5< 27.2-150400.3.20.2
- emacs&distro=openSUSE Leap 15.6< 27.2-150400.3.20.2 | < 27.2-150400.3.26.1
- emacs&distro=openSUSE Tumbleweed< 29.4-11.1
Debian1 product
- emacs< 1:28.2+1-15+deb12u4 | < 1:30.1+1-1
Gnu1 product
- emacs< 30.1
Mageia1 product
- emacs< 29.4-1.2.mga9
7 vendors · 36 products
References
38 links- eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.htmlARTICLEREPORTThird Party Advisory
Show all 38 references
- lists.opensuse.org/archives/…Advisory