Arbitrary Code Injection Affecting emacs-terminal package, versions <1:27.2-4.amzn2.0.9


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-EMACSTERMINAL-20847651
  • published13 Oct 2026
  • disclosed23 Sept 2026

Introduced: 23 Sep 2026

NewCVE-2026-96442  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 emacs-terminal to version 1:27.2-4.amzn2.0.9 or higher.
This issue was patched in ALAS2-2026-3979.

NVD Description

Note: Versions mentioned in the description apply only to the upstream emacs-terminal package and not the emacs-terminal package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1