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.)
CVE-2024-53920
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2024-11-27. NVD baseline CVSS 7.8; sources differ by 2.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 9.8(medium)
- EG Risk
- 75(Attend)EG Risk 75/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 1%
- EPSS %ILE
- 49%
- KEV
- Not listed
Published
November 27, 2024
Last Modified
September 14, 2026
Advisory Details (5)
Auto-updated Aug 20, 2026Emacs arbitrary code execution and how to avoid it | Hacker News
https://news.ycombinator.com/item?id=42256409Avoiding arbitrary code execution with macroexpansion - Wilfred Hughes
https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/Emacs Arbitrary Code Execution and How to Avoid It
https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.htmlemacs.git - Emacs source repository
https://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92ChangeLog.4 - emacs.git - Emacs source repository
https://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4Vendor Advisories for CVE-2024-53920(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(7)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | emacs-pgtk (1:29.3+1-1ubuntu2+esm3) @ noble | 2026-09-14 | ubuntu |
| redhat | discovery/discovery-server-rhel9:2.0.0-1752592913 | 2025-07-21 | redhat |
| redhat | emacs-1:26.1-15.el8_10 | 2025-07-15 | redhat |
| redhat | emacs-1:27.2-14.el9_6.2 | 2025-06-24 | redhat |
| redhat | emacs-1:27.2-10.el9_4.2 | 2025-05-12 | redhat |
| redhat | emacs-1:27.2-11.el9_5.2 | 2025-05-12 | redhat |
| redhat | emacs-1:27.2-8.el9_2.3 | 2025-05-12 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| emacs | 1:27.1+1-3.1 ... 1:27.1+1-3.1+deb11u5 (6 versions) | 1:27.1+1-3.1+deb11u6 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| emacs | 1:28.2+1-15, 1:28.2+1-15+deb12u1, 1:28.2+1-15+deb12u2, 1:28.2+1-15+deb12u3 | 1:28.2+1-15+deb12u4 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| emacs | — | 1:30.1+1-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| emacs | — | 1:30.1+1-1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(7)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2024-539202025-03-25
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.)
- Red HatRHSA-2025:11030MODERATE2024-11-27
RHSA-2025:11030 — Moderate
- Red HatRHSA-2025:4787MODERATE2024-11-27
RHSA-2025:4787 — Moderate
- Red HatRHSA-2025:4793MODERATE2024-11-27
RHSA-2025:4793 — Moderate
- Red HatRHSA-2025:4794MODERATE2024-11-27
RHSA-2025:4794 — Moderate
- Red HatRHSA-2025:9448MODERATE2024-11-27
RHSA-2025:9448 — Moderate
- UbuntuUSN-8011-1MEDIUM
Emacs vulnerabilities
Data Freshness Timeline
(refreshed 11× in last 7d / 36× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 175 total refreshes for this CVE.
- 2026-09-18 19:26 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 05:12 UTCEPSS rescore
- 2026-09-15 03:08 UTCEPSS rescore
- 2026-09-14 18:09 UTCVendor advisory
- 2026-09-14 18:09 UTCGHSA enrichment
- 2026-09-14 16:20 UTCEG score recompute
- 2026-09-14 16:20 UTCVendor advisory
- 2026-09-14 16:20 UTCGHSA enrichment
- 2026-09-13 16:45 UTCEPSS rescore
- 2026-09-12 14:59 UTCEPSS rescore
- 2026-09-11 14:51 UTCEPSS rescore
- 2026-09-11 09:35 UTCEPSS rescore
- 2026-09-10 09:33 UTCEPSS rescore
- 2026-09-08 21:59 UTCEPSS rescore
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-07 07:17 UTCOSV refresh
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-04 13:59 UTCEPSS rescore
- 2026-09-04 05:05 UTCEPSS rescore
- 2026-09-02 14:10 UTCEPSS rescore
- 2026-09-01 13:52 UTCEPSS rescore
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 19:16 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-25 13:47 UTCEPSS rescore
- 2026-08-24 14:15 UTCEPSS rescore
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-20 16:46 UTCVendor advisory
- 2026-08-20 16:46 UTCGHSA enrichment
- 2026-08-20 15:29 UTCVendor advisory
- 2026-08-20 15:29 UTCGHSA enrichment
- 2026-08-20 06:20 UTCVendor advisory
- 2026-08-20 06:20 UTCGHSA enrichment
- 2026-08-20 05:23 UTCEG score recompute
- 2026-08-20 05:23 UTCVendor advisory
- 2026-08-20 05:23 UTCGHSA enrichment
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 13:47 UTCEPSS rescore
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 18:07 UTCOSV refresh
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-11 13:41 UTCEPSS rescore
- 2026-08-10 23:58 UTCEPSS rescore
- 2026-08-09 13:45 UTCEPSS rescore
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-07 16:26 UTCEPSS rescore
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-05 19:16 UTCEPSS rescore
- 2026-08-04 15:08 UTCEPSS rescore
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 04:14 UTCEPSS rescore
- 2026-07-31 10:42 UTCOSV refresh
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:29 UTCEPSS rescore
- 2026-07-28 15:35 UTCEPSS rescore
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 02:44 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 18:07 UTCOSV refresh
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
Frequently asked(5)
What is CVE-2024-53920?
When was CVE-2024-53920 disclosed?
Is CVE-2024-53920 actively exploited?
What is the CVSS score of CVE-2024-53920?
How do I remediate CVE-2024-53920?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-53920
Is Your Infrastructure Affected by CVE-2024-53920?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.