Out-of-bounds Read Affecting emacs package, versions *


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.13% (4th 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-DEBIANUNSTABLE-EMACS-19222833
  • published23 Aug 2026
  • disclosed21 Aug 2026

Introduced: 21 Aug 2026

NewCVE-2026-77219  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable emacs.

NVD Description

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

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.

CVSS Base Scores

version 3.1