Red HatCVE-2026-96442
Red Hat Emacs: code execution
Fix: upgrade to 31.2 or later
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| GNU Emacs Product | < 31.2 | 31.2 |
| Red Hat Enterprise Linux 6 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 7 Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-94
- www.cve.org/CVERecord?id=CVE-2026-96442
- nvd.nist.gov/vuln/detail/CVE-2026-96442
- 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/135e6f63f08fee3d374fa1a5187bce941a2d3e3c
- github.com/emacs-mirror/emacs/commit/abc802ee2eb0b1663349ddf22a461f8e54a383fb
- www.openwall.com/lists/oss-security/2026/09/14/1