Home / GNU Emacs / GNU Emacs / CVE-2026-96442
CVE-2026-96442: is it exploited, and which versions of GNU Emacs are affected and fixed?
CVE-2026-96442 is a code injection (remote code execution) vulnerability in GNU Emacs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: GNU Emacs before 31.2 and Red Hat Enterprise Linux 7 all versions (the record names no range) (CVE record by redhat). Fixed in 31.2, 1:29.4-14.el10_2.3, 1:29.4-17.el10_3, 1:26.1-15.el8_10.4 and 2 more (CVE record by redhat). Severity: High (7.8, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 28, 2026, 16:29 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-96442?
Emacs: emacs: arbitrary code execution in flymake mode
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.
From the CVE record by redhat, last updated November 12, 2026, 05:26 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| GNU Emacs | GNU Emacs emacs | before 31.2 | 31.2 |
| Red Hat | Red Hat Enterprise Linux 10 emacs | all versions (default) | 1:29.4-14.el10_2.3 |
| Red Hat | Red Hat Enterprise Linux 10 emacs | all versions (default) | 1:29.4-17.el10_3 |
| Red Hat | Red Hat Enterprise Linux 8 emacs | all versions (default) | 1:26.1-15.el8_10.4 |
| Red Hat | Red Hat Enterprise Linux 8 emacs | all versions (default) | 1:26.1-15.el8_10.4 |
| Red Hat | Red Hat Enterprise Linux 9 emacs | all versions (default) | 1:27.2-18.el9_8.3 |
| Red Hat | Red Hat Enterprise Linux 9 emacs | all versions (default) | 1:27.2-18.el9_9.1 |
| Red Hat | Red Hat Enterprise Linux 6 emacs | not stated | |
| Red Hat | Red Hat Enterprise Linux 7 emacs | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-96442?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-96442 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 23, 2026)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 13.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Is there a workaround? (from the CVE record)
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.
Where are the vendor advisories and references?
- RHSA-2026:84591 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:85245 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:90800 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:98574 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:99160 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-96442 vdb-entry, x_refsource_REDHAT
- RHBZ#2537347 issue-tracking, x_refsource_REDHAT
- 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
When was it published, and where is the official record?
- Reserved
- September 23, 2026
- Published
- September 23, 2026, 10:10 UTC
- CVE record updated
- November 12, 2026, 05:26 UTC by redhat
- NVD
- Awaiting Analysis, last modified November 12, 2026, 06:17 UTC
- Last checked
- CVE list November 28, 2026, 16:29 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-96442
Is CVE-2026-96442 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of GNU Emacs are affected by CVE-2026-96442?
GNU Emacs before 31.2 and Red Hat Enterprise Linux 7 all versions (the record names no range), per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2026-96442?
31.2, 1:29.4-14.el10_2.3, 1:29.4-17.el10_3, 1:26.1-15.el8_10.4, 1:27.2-18.el9_8.3 and 1:27.2-18.el9_9.1, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-96442?
High (7.8, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2026-96442?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.