red-hatCVE-2026-96442
A code execution flaw was found in Emacs, affecting versions prior to 31.2.
High7.8CVE-2026-96442 · Published Sep 23, 2026 · updated Sep 24, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| GNU Emacs Vendor | < 31.2 | 31.2 |
| Red Hat Enterprise Linux 10 Vendor | all versions | No fix yet |
| Red Hat Enterprise Linux 6 Vendor | all versions | No fix yet |
| Red Hat Enterprise Linux 7 Vendor | all versions | No fix yet |
| Red Hat Enterprise Linux 8 Vendor | all versions | No fix yet |
| Red Hat Enterprise Linux 9 Vendor | all versions | No fix yet |
Details and references
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.
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- no source yet
- Weakness
- CWE-94
- www.cve.org/CVERecord?id=CVE-2026-96442
- nvd.nist.gov/vuln/detail/CVE-2026-96442
- 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