# CVE-2024-53920

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-27 · Modified: 2026-09-21
- Aliases: MGASA-2024-0397, SUSE-SU-2024:4392-1, SUSE-SU-2025:0798-1, RHSA-2025:11030, RHSA-2025:4787, RHSA-2025:4793, RHSA-2025:4794, RHSA-2025:9448, UBUNTU-CVE-2024-53920, DEBIAN-CVE-2024-53920, openSUSE-SU-2024:14591-1, RHBA-2026:22541
- Record: https://cvemate.com/vulnerability/CVE-2024-53920 · JSON: https://cvemate.com/vulnerability/CVE-2024-53920/json

## Description

```text
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.)
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.6%, percentile 50.195%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 39)

- debian emacs (Debian): \< 1:28.2+1-15+deb12u4 \| \< 1:30.1+1-1
- ubuntu emacs (Ubuntu): \< 1:26.3+1-1ubuntu2+esm2 \| \< 1:27.1+1-3ubuntu5.2+esm1 \| \< 1:29.3+1-1ubuntu2+esm3
- ubuntu emacs24 (Ubuntu): All versions (No fix recorded)
- ubuntu emacs25 (Ubuntu): All versions (No fix recorded)
- ubuntu xemacs21 (Ubuntu): All versions (No fix recorded)
- ubuntu xemacs21-packages (Ubuntu): All versions (No fix recorded)
- gnu emacs: \< 30.1
- mageia emacs (Mageia): \< 29.4-1.2.mga9
- opensuse emacs&distro=openSUSE Leap 15.5 (openSUSE): \< 27.2-150400.3.20.2
- opensuse emacs&distro=openSUSE Leap 15.6 (openSUSE): \< 27.2-150400.3.20.2 \| \< 27.2-150400.3.26.1
- opensuse emacs&distro=openSUSE Tumbleweed (openSUSE): \< 29.4-11.1
- redhat emacs (Red Hat): \< 1:26.1-15.el8\_10 \| \< 1:29.4-13.el10\_2 \| \< 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
- redhat emacs-common (Red Hat): \< 1:26.1-15.el8\_10 \| \< 1:29.4-13.el10\_2 \| \< 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
- redhat emacs-common-debuginfo (Red Hat): \< 1:26.1-15.el8\_10 \| \< 1:29.4-13.el10\_2 \| \< 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
- redhat emacs-debuginfo (Red Hat): \< 1:26.1-15.el8\_10 \| \< 1:29.4-13.el10\_2 \| \< 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
- redhat emacs-debugsource (Red Hat): \< 1:26.1-15.el8\_10 \| \< 1:29.4-13.el10\_2 \| \< 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
- redhat emacs-filesystem (Red Hat): \< 1:26.1-15.el8\_10 \| \< 1:29.4-13.el10\_2 \| \< 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
- redhat emacs-gtk+x11-debuginfo (Red Hat): \< 1:29.4-13.el10\_2
- redhat emacs-lucid (Red Hat): \< 1:26.1-15.el8\_10 \| \< 1:29.4-13.el10\_2 \| \< 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
- redhat emacs-lucid-debuginfo (Red Hat): \< 1:26.1-15.el8\_10 \| \< 1:29.4-13.el10\_2 \| \< 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

## References (first 20 of 41)

- <https://git.savannah.gnu.org/cgit/emacs.git/tree/ChangeLog.4>
- <https://git.savannah.gnu.org/cgit/emacs.git/tag/?h=emacs-30.0.92>
- <https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html>
- <https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg@mail.gmail.com/>
- <https://news.ycombinator.com/item?id=42256409>
- <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>
- <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://advisories.mageia.org/MGASA-2024-0397.html>
- <https://bugs.mageia.org/show_bug.cgi?id=33867>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/P4KYDPPUCZHJVNAEXLQAF43YKVZPVWFH/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20244392-1/>
- <https://bugzilla.suse.com/1233894>
- <https://www.suse.com/security/cve/CVE-2024-53920>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250798-1/>
- <https://access.redhat.com/errata/RHSA-2025:11030>
- <https://access.redhat.com/security/updates/classification/#moderate>

---

Data as of 2026-12-05T06:22:58.946Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
