Skip to content
OpenAdvisories
High · 7.8 CVE-2024-53920 EUVD-2024-52189GHSA-8737-h7fg-9xgj

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 …

Published Nov 27, 2024 · Updated Sep 21, 2026 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 emacs 1:30.1+1-1 —
Debian 13 emacs 1:30.1+1-1 —
Debian 12 emacs 1:28.2+1-15+deb12u4 DSA-5871-1
Debian 11 emacs 1:27.1+1-3.1+deb11u6 DLA-4069-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 xemacs21 +1 No fix yet —
Ubuntu 26.04 LTS xemacs21 +1 No fix yet —
Ubuntu 25.10 xemacs21 +1 No fix yet —
Ubuntu 24.04 LTS xemacs21 +1 No fix yet —
Ubuntu 22.04 LTS xemacs21 +1 No fix yet —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xemacs21 +1 No fix yet —
Ubuntu 18.04 LTS xemacs21 +1 No fix yet —
Ubuntu 16.04 LTS xemacs21 +1 No fix yet —
Ubuntu Pro 24.04 LTS emacs 1:29.3+1-1ubuntu2+esm3 USN-8011-1
Ubuntu Pro 22.04 LTS emacs 1:27.1+1-3ubuntu5.2+esm1 USN-8011-1
Ubuntu Pro 20.04 LTS emacs 1:26.3+1-1ubuntu2+esm2 USN-8011-1
Ubuntu Pro 18.04 LTS emacs25 No fix yet —
Ubuntu Pro 16.04 LTS emacs24 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 emacs +4 1:29.4-13.el10_2 RHBA-2026:22541
RHEL 9 emacs +4 1:27.2-11.el9_5.2 RHSA-2025:9448, RHSA-2025:4787
RHEL 8 emacs +5 1:26.1-15.el8_10 RHSA-2025:11030
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS emacs +4 1:27.2-10.el9_4.2 RHSA-2025:4793
RHEL 9.2 EUS emacs +4 1:27.2-8.el9_2.3 RHSA-2025:4794

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 emacs +4 1:27.2-11.el9_5.2 ALSA-2025:9448, ALSA-2025:4787
AlmaLinux 8 emacs +4 1:26.1-15.el8_10 ALSA-2025:11030

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 emacs 1:27.2-11.el9_5.2 RLSA-2025:9448, RLSA-2025:4787
Rocky Linux 8 emacs 1:26.1-15.el8_10 RLSA-2025:11030
ReleasePackageFixed inAdvisory
SLES 15 SP6 emacs 27.2-150400.3.20.2 SUSE-SU-2025:0798-1, SUSE-SU-2024:4392-1
SLES 15 SP5 emacs 27.2-150400.3.20.2 SUSE-SU-2025:0798-1, SUSE-SU-2024:4392-1
SLES 15 SP4 emacs 27.2-150400.3.20.2 SUSE-SU-2025:0798-1, SUSE-SU-2024:4392-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 emacs 27.2-150400.3.26.1 SUSE-SU-2025:0798-1
SLES for SAP 15 SP4 emacs 27.2-150400.3.20.2 SUSE-SU-2025:0798-1, SUSE-SU-2024:4392-1
SLE HPC 15 SP5 emacs 27.2-150400.3.26.1 SUSE-SU-2025:0798-1
SLE HPC 15 SP4 emacs 27.2-150400.3.20.2 SUSE-SU-2025:0798-1, SUSE-SU-2024:4392-1
SUSE Manager Server 4.3 emacs 27.2-150400.3.20.2 SUSE-SU-2025:0798-1, SUSE-SU-2024:4392-1
SUSE Manager Proxy 4.3 emacs 27.2-150400.3.20.2 SUSE-SU-2025:0798-1, SUSE-SU-2024:4392-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed emacs 29.4-11.1 openSUSE-SU-2024:14591-1
openSUSE Leap 15.6 emacs 27.2-150400.3.20.2 SUSE-SU-2025:0798-1, SUSE-SU-2024:4392-1
openSUSE Leap 15.5 emacs 27.2-150400.3.20.2 SUSE-SU-2024:4392-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 emacs +6 1:28.2-3.amzn2023.0.9 ALAS2023-2025-849
Amazon Linux 2 emacs +6 1:27.2-4.amzn2.0.6 ALAS2-2025-2757

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 emacs 29.4-3 —
Azure Linux 2 (CBL-Mariner) emacs 29.4-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 emacs +4 1:27.2-11.el9_5.2 ELSA-2025-9448, ELSA-2025-4787
Oracle Linux 8 emacs +5 1:26.1-15.el8_10 ELSA-2025-11030

Advisories 25

References