CVE-2024-53920
published high CVSS 3.1 · 7.8emacs: arbitrary code execution via Lisp macro expansion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| gnu | — | emacs30.0.92 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2757 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-849 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | emacs | Advisory build | 1:26.1-15.el8_10 | ALSA-2025:11030 |
| Debian | bookworm | emacs | Advisory build | 1:28.2+1-15+deb12u4 | DSA-5871-1 |
| Oracle Linux | 8 | emacsaarch64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Red Hat Enterprise Linux | RHEL-8 | emacsaarch64 | Advisory build | 1:26.1-15.el8_10 | RHSA-2025:11030 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | emacsaarch64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| Ubuntu | focal | emacs | Advisory build | 1:26.3+1-1ubuntu2+esm2 | USN-8011-1 |
| AlmaLinux | 9 | emacs | Advisory build | 1:27.2-11.el9_5.2 | ALSA-2025:4787 |
| AlmaLinux | 9 | emacs | Advisory build | 1:27.2-14.el9_6.2 | ALSA-2025:9448 |
| Debian | bullseye | emacs | Advisory build | 1:27.1+1-3.1+deb11u6 | DLA-4069-1 |
| Oracle Linux | 8 | emacsx86_64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 9 | emacsaarch64 | Advisory build | 1:27.2-11.el9_5.2 | ELSA-2025-4787 |
| Oracle Linux | 9 | emacsaarch64 | Advisory build | 1:27.2-14.el9_6.2 | ELSA-2025-9448 |
| Oracle Linux | 9 | emacsx86_64 | Advisory build | 1:27.2-11.el9_5.2 | ELSA-2025-4787 |
| Oracle Linux | 9 | emacsx86_64 | Advisory build | 1:27.2-14.el9_6.2 | ELSA-2025-9448 |
| Red Hat Enterprise Linux | RHEL-8 | emacsppc64le | Advisory build | 1:26.1-15.el8_10 | RHSA-2025:11030 |
| Red Hat Enterprise Linux | RHEL-8 | emacss390x | Advisory build | 1:26.1-15.el8_10 | RHSA-2025:11030 |
| Red Hat Enterprise Linux | RHEL-8 | emacssrc | Advisory build | 1:26.1-15.el8_10 | RHSA-2025:11030 |
| Red Hat Enterprise Linux | RHEL-8 | emacsx86_64 | Advisory build | 1:26.1-15.el8_10 | RHSA-2025:11030 |
| Red Hat Enterprise Linux | RHEL-9 | emacsaarch64 | Advisory build | 1:27.2-10.el9_4.2 | RHSA-2025:4793 |
| Red Hat Enterprise Linux | RHEL-9 | emacsaarch64 | Advisory build | 1:27.2-11.el9_5.2 | RHSA-2025:4787 |
| Red Hat Enterprise Linux | RHEL-9 | emacsaarch64 | Advisory build | 1:27.2-14.el9_6.2 | RHSA-2025:9448 |
| Red Hat Enterprise Linux | RHEL-9 | emacsaarch64 | Advisory build | 1:27.2-8.el9_2.3 | RHSA-2025:4794 |
| Red Hat Enterprise Linux | RHEL-9 | emacsppc64le | Advisory build | 1:27.2-10.el9_4.2 | RHSA-2025:4793 |
| Red Hat Enterprise Linux | RHEL-9 | emacsppc64le | Advisory build | 1:27.2-11.el9_5.2 | RHSA-2025:4787 |
| Red Hat Enterprise Linux | RHEL-9 | emacsppc64le | Advisory build | 1:27.2-14.el9_6.2 | RHSA-2025:9448 |
| Red Hat Enterprise Linux | RHEL-9 | emacsppc64le | Advisory build | 1:27.2-8.el9_2.3 | RHSA-2025:4794 |
| Red Hat Enterprise Linux | RHEL-9 | emacss390x | Advisory build | 1:27.2-10.el9_4.2 | RHSA-2025:4793 |
| Red Hat Enterprise Linux | RHEL-9 | emacss390x | Advisory build | 1:27.2-11.el9_5.2 | RHSA-2025:4787 |
| Red Hat Enterprise Linux | RHEL-9 | emacss390x | Advisory build | 1:27.2-14.el9_6.2 | RHSA-2025:9448 |
| Red Hat Enterprise Linux | RHEL-9 | emacss390x | Advisory build | 1:27.2-8.el9_2.3 | RHSA-2025:4794 |
| Red Hat Enterprise Linux | RHEL-9 | emacssrc | Advisory build | 1:27.2-10.el9_4.2 | RHSA-2025:4793 |
| Red Hat Enterprise Linux | RHEL-9 | emacssrc | Advisory build | 1:27.2-11.el9_5.2 | RHSA-2025:4787 |
| Red Hat Enterprise Linux | RHEL-9 | emacssrc | Advisory build | 1:27.2-14.el9_6.2 | RHSA-2025:9448 |
| Red Hat Enterprise Linux | RHEL-9 | emacssrc | Advisory build | 1:27.2-8.el9_2.3 | RHSA-2025:4794 |
| Red Hat Enterprise Linux | RHEL-9 | emacsx86_64 | Advisory build | 1:27.2-10.el9_4.2 | RHSA-2025:4793 |
| Red Hat Enterprise Linux | RHEL-9 | emacsx86_64 | Advisory build | 1:27.2-11.el9_5.2 | RHSA-2025:4787 |
| Red Hat Enterprise Linux | RHEL-9 | emacsx86_64 | Advisory build | 1:27.2-14.el9_6.2 | RHSA-2025:9448 |
| Red Hat Enterprise Linux | RHEL-9 | emacsx86_64 | Advisory build | 1:27.2-8.el9_2.3 | RHSA-2025:4794 |
| SUSE / openSUSE | SLE-15-SP4 | emacsaarch64 | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP4 | emacsppc64le | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP4 | emacsppc64le | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP4 | emacss390x | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP4 | emacss390x | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP4 | emacsx86_64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP4 | emacsx86_64 | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP5 | emacsaarch64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP5 | emacsaarch64 | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP5 | emacsppc64le | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP5 | emacsppc64le | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP5 | emacss390x | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP5 | emacss390x | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP5 | emacsx86_64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP5 | emacsx86_64 | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP6 | emacsaarch64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP6 | emacsaarch64 | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP6 | emacsppc64le | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP6 | emacsppc64le | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP6 | emacss390x | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP6 | emacss390x | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | SLE-15-SP6 | emacsx86_64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | SLE-15-SP6 | emacsx86_64 | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | emacsaarch64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | emacsppc64le | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | emacss390x | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | emacsx86_64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | emacsaarch64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | emacsaarch64 | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | emacsppc64le | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | emacsppc64le | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | emacss390x | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | emacss390x | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | emacsx86_64 | Advisory build | 27.2-150400.3.20.2 | SUSE-SU-2024:4392-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | emacsx86_64 | Advisory build | 27.2-150400.3.26.1 | SUSE-SU-2025:0798-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacsaarch64 | Advisory build | 29.4-11.1 | OPENSUSE-SU-2024:14591-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacsppc64le | Advisory build | 29.4-11.1 | OPENSUSE-SU-2024:14591-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacss390x | Advisory build | 29.4-11.1 | OPENSUSE-SU-2024:14591-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | emacsx86_64 | Advisory build | 29.4-11.1 | OPENSUSE-SU-2024:14591-1 |
| Ubuntu | jammy | emacs | Advisory build | 1:27.1+1-3ubuntu5.2+esm1 | USN-8011-1 |
| Ubuntu | noble | emacs | Advisory build | 1:29.3+1-1ubuntu2+esm3 | USN-8011-1 |
| AlmaLinux | 8 | emacs-common | Advisory build | 1:26.1-15.el8_10 | ALSA-2025:11030 |
| AlmaLinux | 8 | emacs-lucid | Advisory build | 1:26.1-15.el8_10 | ALSA-2025:11030 |
| AlmaLinux | 8 | emacs-nox | Advisory build | 1:26.1-15.el8_10 | ALSA-2025:11030 |
| AlmaLinux | 8 | emacs-terminal | Advisory build | 1:26.1-15.el8_10 | ALSA-2025:11030 |
| AlmaLinux | 9 | emacs-common | Advisory build | 1:27.2-11.el9_5.2 | ALSA-2025:4787 |
| AlmaLinux | 9 | emacs-common | Advisory build | 1:27.2-14.el9_6.2 | ALSA-2025:9448 |
| AlmaLinux | 9 | emacs-filesystem | Advisory build | 1:27.2-11.el9_5.2 | ALSA-2025:4787 |
| AlmaLinux | 9 | emacs-filesystem | Advisory build | 1:27.2-14.el9_6.2 | ALSA-2025:9448 |
| AlmaLinux | 9 | emacs-lucid | Advisory build | 1:27.2-11.el9_5.2 | ALSA-2025:4787 |
| AlmaLinux | 9 | emacs-lucid | Advisory build | 1:27.2-14.el9_6.2 | ALSA-2025:9448 |
| AlmaLinux | 9 | emacs-nox | Advisory build | 1:27.2-11.el9_5.2 | ALSA-2025:4787 |
| AlmaLinux | 9 | emacs-nox | Advisory build | 1:27.2-14.el9_6.2 | ALSA-2025:9448 |
| Oracle Linux | 8 | emacs-commonaarch64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 8 | emacs-commonx86_64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 8 | emacs-filesystemaarch64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 8 | emacs-filesystemx86_64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 8 | emacs-lucidaarch64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 8 | emacs-lucidx86_64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 8 | emacs-noxaarch64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 8 | emacs-noxx86_64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
| Oracle Linux | 8 | emacs-terminalaarch64 | Advisory build | 1:26.1-15.el8_10 | ELSA-2025-11030 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| gnu | emacs | 30.0.92 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
11- http://www.openwall.com/lists/oss-security/2026/08/20/3
- http://www.openwall.com/lists/oss-security/2026/08/20/7
- http://www.openwall.com/lists/oss-security/2026/09/14/1
- http://www.openwall.com/lists/oss-security/2026/09/21/9
- https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html
- https://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92
- https://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4
- https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30.1
- https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html
- https://news.ycombinator.com/item?id=42256409
- https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 168f84616bfb50ed967c08484bda9aac57612c01fc38c01e0267ee17877b3851
- Ingested
- 23 Sep 2026, 08:31:11 UTC
- Source record
- Official CVE record