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.
References8
- access.redhat.com/errata/RHSA-2026:84591
- access.redhat.com/errata/RHSA-2026:85245
- access.redhat.com/errata/RHSA-2026:90800
- access.redhat.com/security/cve/CVE-2026-96442
- bugzilla.redhat.com/show_bug.cgi?id=2537347
- github.com/emacs-mirror/emacs/commit/135e6f63f08fee3d374fa1a518…
- github.com/emacs-mirror/emacs/commit/abc802ee2eb0b1663349ddf22a…
- www.openwall.com/lists/oss-security/2026/09/14/1
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 10 · as of 9 November 2026
- CWE
- CWE-94
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.