CVE-2024-53920
CVE-2024-53920
CVSS 7.8 · High · EPSS 0.8% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- emacs Debian 12Update to 1:28.2+1-15+deb12u4
- emacs Debian 13Update to 1:30.1+1-1
- emacs Debian 14Update to 1:30.1+1-1
- emacs24 Ubuntu Pro 16.04 LTSNo fix published
- and 19 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs24"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.)
- Published
- Updated
Fixes in distributions
- RHBA-2026:22541 · Red Hat Enterprise Linux 10.2 ·
- USN-8011-1 · Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS, Ubuntu Pro 24.04 LTS ·
- RLSA-2025:9448 · Rocky Linux 9 ·
- RLSA-2025:4787 · Rocky Linux 9 ·
- RLSA-2025:11030 · Rocky Linux 8 ·
- RHSA-2025:11030 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
- ALSA-2025:11030 · AlmaLinux 8 ·
- RHSA-2025:9448 · Red Hat Enterprise Linux 9 appstream ·
- ALSA-2025:9448 · AlmaLinux 9 ·
- RHSA-2025:4794 · Red Hat rhel eus 9.2 appstream ·
- RHSA-2025:4793 · Red Hat rhel eus 9.4 appstream ·
- RHSA-2025:4787 · Red Hat Enterprise Linux 9 appstream ·
- ALSA-2025:4787 · AlmaLinux 9 ·
- SUSE-SU-2025:0798-1 · openSUSE Leap 15.6, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP6, SUSE Linux Enterprise Module for Desktop Applications 15 SP6, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
- DLA-4069-1 · Debian 11 ·
- DSA-5871-1 · Debian 12 ·
- SUSE-SU-2024:4392-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP5, SUSE Linux Enterprise Module for Basesystem 15 SP6, SUSE Linux Enterprise Module for Desktop Applications 15 SP5, SUSE Linux Enterprise Module for Desktop Applications 15 SP6, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
- openSUSE-SU-2024:14591-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
emacs Debian 12
- Versions
- 1:28.2+1-15
- 1:28.2+1-15+deb12u1
- 1:28.2+1-15+deb12u2
- 1:28.2+1-15+deb12u3
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-15+deb12u4
Update to 1:28.2+1-15+deb12u4
emacs Debian 13
- Affected ranges
- ECOSYSTEM: < 1:30.1+1-1
Update to 1:30.1+1-1
emacs Debian 14
- Affected ranges
- ECOSYSTEM: < 1:30.1+1-1
Update to 1:30.1+1-1
emacs24 Ubuntu Pro 16.04 LTS
- Versions
- 24.5+1-1ubuntu2
- 24.5+1-1ubuntu4
- 24.5+1-1ubuntu5
- 24.5+1-1ubuntu6
- 24.5+1-1ubuntu7
- 24.5+1-6ubuntu1
All versions (11)
- 24.5+1-6ubuntu1.1
- 24.5+1-6ubuntu1.1+esm1
- 24.5+1-6ubuntu1.1+esm2
- 24.5+1-6ubuntu1.1+esm3
- 24.5+1-6ubuntu1.1+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 16.04 LTS
- Versions
- 21.4.22-4ubuntu3
- 21.4.22-14ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 16.04 LTS
- Versions
- 2009.02.17.dfsg.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs25 Ubuntu Pro 18.04 LTS
- Versions
- 25.2+1-6
- 25.2+1-6ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 18.04 LTS
- Versions
- 21.4.24-4ubuntu1
- 21.4.24-5ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 18.04 LTS
- Versions
- 2009.02.17.dfsg.2-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu Pro 20.04 LTS
- Versions
- 1:26.3+1-1ubuntu1
- 1:26.3+1-1ubuntu2
- 1:26.3+1-1ubuntu2+esm1
- Affected ranges
- ECOSYSTEM: < 1:26.3+1-1ubuntu2+esm2
Update to 1:26.3+1-1ubuntu2+esm2
xemacs21 Ubuntu 20.04 LTS
- Versions
- 21.4.24-8build1
- 21.4.24-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 20.04 LTS
- Versions
- 2009.02.17.dfsg.2-4
- 2009.02.17.dfsg.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 22.04 LTS
- Versions
- 21.4.24-9ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 22.04 LTS
- Versions
- 2009.02.17.dfsg.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu Pro 22.04 LTS
- Versions
- 1:27.1+1-3ubuntu3
- 1:27.1+1-3ubuntu5
- 1:27.1+1-3ubuntu5.1
- 1:27.1+1-3ubuntu5.2
- Affected ranges
- ECOSYSTEM: < 1:27.1+1-3ubuntu5.2+esm1
Update to 1:27.1+1-3ubuntu5.2+esm1
xemacs21 Ubuntu 24.04 LTS
- Versions
- 21.4.24-12
- 21.4.24-12build2
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 24.04 LTS
- Versions
- 2009.02.17.dfsg.3-2
- 2009.02.17.dfsg.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu Pro 24.04 LTS
- Versions
- 1:29.1+1-5ubuntu1
- 1:29.2+1-1ubuntu1
- 1:29.2+1-2ubuntu4
- 1:29.3+1-1ubuntu2
- 1:29.3+1-1ubuntu2+esm1
- Affected ranges
- ECOSYSTEM: < 1:29.3+1-1ubuntu2+esm3
Update to 1:29.3+1-1ubuntu2+esm3
xemacs21 Ubuntu 25.10
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 25.10
- Versions
- 2009.02.17.dfsg.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 26.10
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 26.10
- Versions
- 2009.02.17.dfsg.3-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 26.04 LTS
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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://nvd.nist.gov/vuln/detail/CVE-2024-53920