GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Check your stack
CVE-2026-96442high7.8

Emacs: emacs: arbitrary code execution in flymake mode

Impact

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.

Source excerpt · redhat

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.

redhat guidance

Affected packages

This source has no supported package-version data for matching. You can read the advisory here, but this record alone cannot power a dependency check.

Affected products

Vendor version evidence. Product records are separate from automatic dependency matching.

GNU Emacs · GNU Emacs

Other versions: unaffected

Version / rangeSource status
0 to before 31.2affected
redhat version evidence

Red Hat · Red Hat Enterprise Linux 10

Other versions: affected

Version / rangeSource status
1:29.4-14.el10_2.3 to before *unaffected
redhat version evidence

Red Hat · Red Hat Enterprise Linux 8

Other versions: affected

Version / rangeSource status
1:26.1-15.el8_10.4 to before *unaffected
redhat version evidence

Red Hat · Red Hat Enterprise Linux 8

Other versions: affected

Version / rangeSource status
1:26.1-15.el8_10.4 to before *unaffected
redhat version evidence

Red Hat · Red Hat Enterprise Linux 9

Other versions: affected

Version / rangeSource status
1:27.2-18.el9_8.3 to before *unaffected
redhat version evidence

Original source 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.

References