Code Execution Flaw in Emacs Affecting Versions Prior to 31.2

Check todayFull system takeover with local access.
7.8HIGH

CVE-2026-96442

Key Information:

Vendor

Gnu Emacs

Status
Gnu Emacs
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9
CVE ID
CVE ID:
CVE-2026-96442
Vendor
CVE Published:
23 September 2026
Fixed in
Fixed in:
31.2

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs local access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version

Several version ranges are affected; the full list is under Affected Version(s).

Install GNU Emacs 31.2 or later
Read the vendor advisory ↗
2Why it's rated "Check today"
  • Its CVSS severity is high (7.8).

What is CVE-2026-96442?

A code execution flaw exists in Emacs that impacts versions prior to 31.2, enabling the Flymake mode to execute arbitrary code from untrusted files during syntax checking. Users editing or viewing files that are not trusted can inadvertently execute code with the privileges of the user running Emacs, creating a significant security risk. It is crucial for users to upgrade to the latest version to mitigate this vulnerability.

Affected Version(s)

GNU Emacs 0 < 31.2

Red Hat Enterprise Linux 10 1:29.4-14.el10_2.3

Red Hat Enterprise Linux 10 1:29.4-17.el10_3

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.