Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-96442

Emacs: emacs: arbitrary code execution in flymake mode

Published 23 Sept 2026 · Source updated 5 Nov 2026 · Retrieved 2026-11-05 01:18 UTC

Statance checks for CVE-2026-96442. Connected servers are checked automatically against the fixed versions their distribution or package ecosystem has published for it, including app dependency lockfiles. Check my servers ↗
Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
emacsGNU Emacsaffected: 0 to < 31.2See vendor advisory
emacsRed Hatunaffected: 1:29.4-14.el10_2.3 to < *See vendor advisory
emacsRed Hatunaffected: 1:26.1-15.el8_10.4 to < *See vendor advisory
emacsRed Hatunaffected: 1:26.1-15.el8_10.4 to < *See vendor advisory
emacsRed Hatunaffected: 1:27.2-18.el9_8.3 to < *See vendor advisory
emacsRed HatDefault status: unknownSee vendor advisory
emacsRed HatDefault status: affectedSee vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-11-06 16:38 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed