https://seclists.org/oss-sec/2026/q3/855: Emacs arbitrary code execution: incomplete fix for CVE-2024-53920

Published Sep 21, 2026
·
Updated

Affected Software

1 affected component
GNU Emacs>=<=

Frequently Asked Questions

1

Which installations should be treated as potentially exposed?

All Emacs versions affected by CVE-2024-53920 are affected, including Emacs 24 and newer. Older versions may also be affected.

2

What attacker-controlled content is needed to trigger code execution?

A user must view or edit an untrusted text file in a mode other than Emacs Lisp mode. The example uses a file-local mode declaration to select Perl and Flymake, with Perl code that executes a system command.

3

Are upstream fixes planned for maintained older releases?

Upstream maintainers do not expect to backport the fix to older Emacs releases themselves. A minimal fix is queued for Emacs 31.2.

4

Does the currently queued fix have operational side effects?

The queued minimal fix implicitly disables the Eglot Flymake backend. The maintainers expect they may be able to undo that behavior before Emacs 31.2 is released.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203