CVE-2024-53920: GNU Emacs

High severity, CVSS 7.8. EPSS: 0.8% probability of exploitation activity 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.)

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • GNU Emacs, before 30.1: fixed in 30.1

Affected products

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