CVE-2026-96442

Emacs: emacs: arbitrary code execution in flymake mode

  • High 7.8

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.

Key facts

Published
23 Sep 2026
Last changed
12 Nov 2026
Assigned by
redhat
EPSS
0.218% likely to be exploited in the next 30 days, higher than 12.361% of CVEs (scores for 16 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: total

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.8CVSS 3.1, Highfrom the CNA (redhat)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What to do

  • 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.CNA workaround statement

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
GNU EmacsGNU Emacs
  • Default status: unaffected
  • 0 up to but excluding 31.2 (affected)
Red HatRed Hat Enterprise Linux 10
  • Default status: affected
  • 1:29.4-14.el10_2.3 up to but excluding * (unaffected)
Red HatRed Hat Enterprise Linux 10
  • Default status: affected
  • 1:29.4-17.el10_3 up to but excluding * (unaffected)
Red HatRed Hat Enterprise Linux 8
  • Default status: affected
  • 1:26.1-15.el8_10.4 up to but excluding * (unaffected)
Red HatRed Hat Enterprise Linux 8
  • Default status: affected
  • 1:26.1-15.el8_10.4 up to but excluding * (unaffected)
Red HatRed Hat Enterprise Linux 9
  • Default status: affected
  • 1:27.2-18.el9_8.3 up to but excluding * (unaffected)
Red HatRed Hat Enterprise Linux 9
  • Default status: affected
  • 1:27.2-18.el9_9.1 up to but excluding * (unaffected)
Red HatRed Hat Enterprise Linux 6
  • Default status: unknown
Red HatRed Hat Enterprise Linux 7
  • Default status: affected

Timeline

  1. 14 Sep 2026 Made public.
  2. 21 Sep 2026 Reported to Red Hat.
  3. 23 Sep 2026 Published

Weakness

References