← CVE Intelligence

CVE-2026-96442

Emacs: emacs: arbitrary code execution in flymake mode PUBLISHED

Description (CNA)

A code execution flaw was found in Emacs, affecting versions prior to 31.2. The Flymake mode using language backends other than Lisp would execute arbitrary code from the edited file while performing syntax checking. Viewing or editing untrusted files using Emacs could lead to arbitrary code execution with the privileges of the user running Emacs.

Affected (CNA)

Vendor / productVersions
GNU Emacs / GNU Emacsaffected 0 before 31.2
Red Hat / Red Hat Enterprise Linux 10unaffected 1:29.4-14.el10_2.3 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 1:27.2-18.el9_8.3 before *
Red Hat / Red Hat Enterprise Linux 6unknown
Red Hat / Red Hat Enterprise Linux 7affected
Red Hat / Red Hat Enterprise Linux 8affected

CWE

CWE-94

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.