CVE-2026-77219CWE-125CWE-190

CVE-2026-77219

High · published August 22, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
2.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS v4.0
6.9 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00128 · 2.2th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-190 · Integer Overflow or Wraparound
Published
2026-08-22T01:17Z
References (4)
EPSS history
Timeline
  • 21 AUG 20:20Z
    GNU Emacs < 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader
    cvelistv5