Arbitrary Code Injection Affecting emacs-filesystem package, versions <1:27.2-14.el9_6.2


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.53% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-EMACSFILESYSTEM-13299875
  • published5 Oct 2025
  • disclosed27 Nov 2024

Introduced: 27 Nov 2024

CVE-2024-53920  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade RHEL:9 emacs-filesystem to version 1:27.2-14.el9_6.2 or higher.
This issue was patched in RHSA-2025:9448.

NVD Description

Note: Versions mentioned in the description apply only to the upstream emacs-filesystem package and not the emacs-filesystem package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1