PT-2026-79473 · Gnu · Emacs

·

CVE-2026-77219

·

Published

2026-08-21

·

Updated

2026-08-31

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions GNU Emacs versions prior to 31.0.91
Description An integer overflow exists in the PBM/PPM/PGM image loader. This occurs because the loader uses signed integer arithmetic to multiply image dimensions and channel count. When provided with a crafted image featuring large dimensions and an elevated max color index, the result can wrap to a negative number. This bypasses bounds checks, causing the pixel reader to access heap memory beyond the allocated buffer. The leaked heap memory contents are then interpreted as pixel color values and rendered on screen.
Recommendations Update GNU Emacs to version 31.0.91 or later.

Exploit

Fix

Integer Overflow

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-96986
CVE-2026-77219
OPENSUSE-SU-2026:21711-1

Affected Products

Emacs