Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-96269: GNU Emacs 28.1 through 31.1 allows arbitrary code execution upon opening a file, because an untrusted value of read-symbol-shorthands affects the intern and unintern functions. This affects the default configuration; no particular user settings are required to trigger it. CVE-2026-79992: A flaw was found in Emacs TRAMP. A local attacker could exploit this vulnerability by processing maliciously crafted filenames. This occurs because TRAMP concatenates login arguments without proper sanitization, which are then passed to a local shell. Successful exploitation could lead to arbitrary code execution. CVE-2026-77219: GNU Emacs before 31.0.91 contains an integer overflow in the PBM/PPM/PGM image loader that allows an attacker to leak heap memory contents by supplying a crafted image with large dimensions and an elevated max color index. The image loader multiplies image dimensions and channel count using signed integer arithmetic; for sufficiently large values, the result wraps to a negative number, bypassing the bounds check and causing the pixel reader to access heap memory past the end of the allocated buffer. The over-read contents are interpreted as pixel color values and rendered on screen.
Fixed packages 12
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | emacs | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-common | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-common-debuginfo | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-debuginfo | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-debugsource | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-devel | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-filesystem | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-lucid | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-lucid-debuginfo | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-nox | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-nox-debuginfo | 1:28.2-3.amzn2023.0.11 |
| Amazon Linux · 2023 | emacs-terminal | 1:28.2-3.amzn2023.0.11 |
Vulnerabilities 3
-
High 7.8
Emacs: emacs: command injection via crafted filenames in tramp
A flaw was found in Emacs TRAMP. A local attacker could exploit this vulnerability by processing maliciously crafted filenames. This occurs because TRAMP concatenates login arguments without proper sanitization, which are then passed to a local shell. Success…
-
High 7.5
GNU Emacs 28.1 through 31.1 allows arbitrary code execution upon opening a file, because an untrusted value of read-sym…
-
High 7.1
GNU Emacs < 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader
GNU Emacs before 31.0.91 contains an integer overflow in the PBM/PPM/PGM image loader that allows an attacker to leak heap memory contents by supplying a crafted image with large dimensions and an elevated max color index. The image loader multiplies image di…