CVE-2024-53920: GNU Emacs

High severity, CVSS 7.8. EPSS: 0.6% chance of exploitation in the next 30 days.

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

Affected products

  • GNU Emacs: before 30.1 (fixed in 30.1)

Published 2024-11-27. Last modified 2026-09-21.