Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| GNU Emacs / GNU Emacs | affected 0 before 31.2 |
| Red Hat / Red Hat Enterprise Linux 10 | unaffected 1:29.4-14.el10_2.3 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 1:27.2-18.el9_8.3 before * |
| Red Hat / Red Hat Enterprise Linux 6 | unknown |
| Red Hat / Red Hat Enterprise Linux 7 | affected |
| Red Hat / Red Hat Enterprise Linux 8 | affected |
CWE
CWE-94
References
- https://access.redhat.com/errata/RHSA-2026:84591
- https://access.redhat.com/errata/RHSA-2026:85245
- https://access.redhat.com/security/cve/CVE-2026-96442
- https://bugzilla.redhat.com/show_bug.cgi?id=2537347
- https://github.com/emacs-mirror/emacs/commit/135e6f63f08fee3d374fa1a5187bce941a2d3e3c
- https://github.com/emacs-mirror/emacs/commit/abc802ee2eb0b1663349ddf22a461f8e54a383fb
- https://www.openwall.com/lists/oss-security/2026/09/14/1
ADP enrichment
No English description supplied.
No references supplied.