Advisory
UBUNTU-CVE-2024-53920
Also known as: CVE-2024-53920
Summary
The record has no summary.
Details
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.)
Severity
High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Dates
- Published
- 2024-11-27 15:15 UTC
- Modified
- 2026-10-17 12:56 UTC
Affected packages and fixes
| Package | System | Fix |
|---|---|---|
| xemacs21 | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| xemacs21-packages | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| xemacs21 | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| xemacs21-packages | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| xemacs21 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| xemacs21-packages | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| xemacs21 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| xemacs21-packages | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| xemacs21 | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| xemacs21-packages | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| xemacs21 | Debian packages (deb) · Ubuntu 25.10 | No fixed version is listed. |
| xemacs21-packages | Debian packages (deb) · Ubuntu 25.10 | No fixed version is listed. |
| xemacs21 | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| xemacs21-packages | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| xemacs21 | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
| xemacs21-packages | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2024-53920
- https://www.cve.org/CVERecord?id=CVE-2024-53920
- 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://news.ycombinator.com/item?id=42256409
- https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg%40mail.gmail.com/
- https://ubuntu.com/security/notices/USN-8011-1
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0