# CVE-2026-96442: Emacs: emacs: arbitrary code execution in flymake mode

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-09-23T10:10:36.734Z
- Modified: 2026-11-12T06:17:15.337Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- emacs: before 31.2 (not affected: from 1:29.4-14.el10_2.3 before *; from 1:29.4-17.el10_3 before *; from 1:26.1-15.el8_10.4 before *; from 1:27.2-18.el9_8.3 before *; from 1:27.2-18.el9_9.1 before *)

## References

- <https://access.redhat.com/errata/RHSA-2026:84591> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:85245> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:90800> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98574> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99160> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-96442> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2537347> (issue-tracking)
- <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>

## Sources

- CVE List: [CVE-2026-96442](https://www.cve.org/CVERecord?id=CVE-2026-96442), CVE Terms of Use, modified 2026-11-12
- NVD: [CVE-2026-96442](https://nvd.nist.gov/vuln/detail/CVE-2026-96442), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-96442 · Whole record: https://cve.day/CVE-2026-96442.json · Rebuilt by cve.day 2026-11-25T22:59:40.607Z
