|
|
Log in / Subscribe / Register

Emacs arbitrary code execution flaw

Sean Whitton has announced that the original fix for an arbitrary code execution flaw in Emacs (CVE-2024-53920) was incomplete. Bas Alberts discovered that viewing or editing untrusted files in modes other than Emacs's Lisp mode can also result in arbitrary code execution.

This problem affects all Emacs versions affected by CVE-2024-53920. This means Emacs 24 and newer, and possibly also older versions.

A minimal fix, attached, is queued up for release with Emacs 31.2. We (the Emacs upstream maintainers) don't expect to backport the fix to older Emacs releases ourselves.

LWN covered the original vulnerability in December 2024.



to post comments

What to do until 31.2?

Posted Sep 14, 2026 17:30 UTC (Mon) by gray_-_wolf (subscriber, #131074) [Link]

For now I guess something like

(setopt flymake-start-on-flymake-mode nil
        flymake-start-on-save-buffer nil
        flymake-no-changes-timeout nil)

could help? Did I miss some additional variable I should set?


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds