CVE-2026-96442Emacs: emacs: arbitrary code execution in flymake mode
- 7.8HighCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
Published
- 50 days later
· 50 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 88% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected < 31.2
Red Hat · Red Hat Enterprise Linux 10
- unaffected 1:29.4-14.el10_2.3 – < *
Red Hat · Red Hat Enterprise Linux 10
- unaffected 1:29.4-17.el10_3 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 1:26.1-15.el8_10.4 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 1:26.1-15.el8_10.4 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 1:27.2-18.el9_8.3 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 1:27.2-18.el9_9.1 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
What to do
Workaround: To mitigate this issue, users should avoid opening or editing untrusted text files with Emacs. Exercise caution when handling files from unknown or suspicious sources, as interacting with them can lead to arbitrary code execution.
References
References10
- RHSA-2026:84591 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:85245 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:90800 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98574 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:99160 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-96442 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2537347 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/emacs-mirror/emacs/commit/135e6f63f08fee3d374fa1a5187bce941a2d3e3c (opens in a new tab)
- https://github.com/emacs-mirror/emacs/commit/abc802ee2eb0b1663349ddf22a461f8e54a383fb (opens in a new tab)
- https://www.openwall.com/lists/oss-security/2026/09/14/1 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-85187 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-96442)Record last updated .