CVE-2026-96442
High
Description
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.
SeverityHigh
CVSS7.8
Exploit probability—
Product
GNU Emacs
PublishedSep 23, 2026
First seenSep 23, 2026
Weakness typeCWE-94Code injection
How to fix
Update
- GNU Emacs GNU Emacs31.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GNU Emacs GNU Emacs | v < 31.2 | 31.2 |
| Red Hat Red Hat Enterprise Linux 10 | No range specified | — |
| enterprise_linux 8 | No range specified | — |
| enterprise_linux 9 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 7 | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.