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 completion) on untrusted Emacs Lisp source code can trigger unsafe Lisp macro expansion that
02 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
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.60% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 48.5% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-09-21.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-11-27 00:00Z1 YR AGO
- Last updated
- 2026-09-21 22:07Z1 MO AGO
- Reserved
- 2024-11-25
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.8)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94Improper Control of Generation of Code ('Code Injection')Base
- Data version
- 5.2
- Document digest
- 94f5ff94a2eb4f5e54d6347bcba93338a88339f3be2284ebbbbdfe17f52e3512
05 Affected products
06 References
- git.savannah.gnu.orghttps://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4
- git.savannah.gnu.orghttps://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92
- eshelyaron.comhttps://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html
- yhetil.orghttps://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/
- news.ycombinator.comhttps://news.ycombinator.com/item?id=42256409
- git.savannah.gnu.orghttps://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/02/msg00033.html
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/08/20/3
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/08/20/7
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/09/14/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/09/21/9
07 Fixed in
AlmaLinux 8
- emacs Fixed in 1:26.1-15.el8_10
- emacs-common Fixed in 1:26.1-15.el8_10
- emacs-lucid Fixed in 1:26.1-15.el8_10
- emacs-nox Fixed in 1:26.1-15.el8_10
- emacs-terminal Fixed in 1:26.1-15.el8_10
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- emacs Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
- emacs-common Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
- emacs-filesystem Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
- emacs-lucid Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
- emacs-nox Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- emacs Fixed in 1:26.1-15.el8_10
- emacs-common Fixed in 1:26.1-15.el8_10
- emacs-lucid Fixed in 1:26.1-15.el8_10
- emacs-nox Fixed in 1:26.1-15.el8_10
- emacs-terminal Fixed in 1:26.1-15.el8_10
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- emacs Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
- emacs-common Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
- emacs-filesystem Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
- emacs-lucid Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
- emacs-nox Fixed
A version is affected if any line below covers it.
- Affected before 1:27.2-11.el9_5.2
- Affected before 1:27.2-14.el9_6.2
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- emacs Fixed in 1:28.2+1-15+deb12u4
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- emacs Fixed in 1:30.1+1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- emacs Fixed in 1:30.1+1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- xemacs21 No fix yet
- xemacs21-packages No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- xemacs21 No fix yet
- xemacs21-packages No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- xemacs21 No fix yet
- xemacs21-packages No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- xemacs21 No fix yet
- xemacs21-packages No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- xemacs21 No fix yet
- xemacs21-packages No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- xemacs21 No fix yet
- xemacs21-packages No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- xemacs21 No fix yet
- xemacs21-packages No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- xemacs21 No fix yet
- xemacs21-packages No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- emacs24 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- emacs25 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- emacs Fixed in 1:26.3+1-1ubuntu2+esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- emacs Fixed in 1:27.1+1-3ubuntu5.2+esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 24.04 LTS
- emacs Fixed in 1:29.3+1-1ubuntu2+esm3Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.