CVE-2026-96442

published 23 Sep 2026 · updated 16 Nov 2026

Emacs: emacs: arbitrary code execution in flymake mode

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 31.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GNU Emacs<31.231.2
Red HatEnterprise Linux

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-96442 severity on Zeptric[![CVE-2026-96442](https://zeptric.io/badge/cve/CVE-2026-96442.svg)](https://zeptric.io/cve/CVE-2026-96442)