CVE Catalog

CVE-2024-53920

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.53%

42th percentile - higher than 42% of all known CVEs

Summary

In elisp-mode.el in GNU Emacs before 30.1, invoking elisp-completion-at-point on untrusted Emacs Lisp source code can trigger unsafe Lisp macro expansion, allowing arbitrary code execution. This also occurs if on-the-fly byte compilation diagnosis is enabled.

Risk Assessment

The risk includes arbitrary code execution on the user's machine when working with untrusted Emacs Lisp code, potentially leading to system compromise.

Recommendation

Update GNU Emacs to 30.1 or later and avoid code completion on untrusted source files.

Other vulnerabilities in GNU Emacs

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS