
PEACH
Un cadre d’isolation des locataires
CVE-2026-77219 is an integer overflow vulnerability in the PBM/PPM/PGM image loader of GNU Emacs that enables heap memory disclosure and potential denial of service. All versions of GNU Emacs before 31.0.91 are affected. The vulnerability was published on August 21, 2026, with a patch released in the emacs-31.0.91 pretest. It carries a CVSS v3.1 base score of 7.1 (High) and a CVSS v4.0 base score of 6.9 (Medium) (Github Advisory, Emacs Release).
The root cause is an integer overflow (CWE-190) in src/image.c within the pbm_load function, leading to an out-of-bounds read (CWE-125). The image loader computes the expected buffer size by multiplying image height, width, and channel count using signed integer arithmetic; when sufficiently large dimension values are supplied, the multiplication wraps to a negative number, bypassing the bounds check (p + expected_size > end). This causes the pixel reader to access heap memory beyond the allocated buffer, and the over-read bytes are interpreted as pixel color values and rendered on screen. The fix, committed as b07e634, replaces the naive multiplication with ckd_mul() (checked multiplication) to detect overflow before the bounds check (Emacs Commit, GNU Bug #81344).
Successful exploitation allows an unauthenticated attacker (with user interaction) to leak sensitive heap memory contents, which are visually rendered as pixel data on the victim's screen — potentially exposing cryptographic keys, credentials, or other in-memory secrets. Additionally, the out-of-bounds read can crash the Emacs process, resulting in a denial of service. The vulnerability is locally scoped with no integrity impact and no lateral movement potential beyond the affected Emacs process (Github Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.13% (3rd percentile), indicating a low near-term exploitation probability. Exploitation requires user interaction — specifically, a victim must open a specially crafted PBM/PPM/PGM image file in Emacs (Github Advisory).
height * width * channels overflows a signed integer and wraps to a negative value.find-file or drag-and-drop), causing pbm_load in src/image.c to process the malicious header.expected_size to be negative, bypassing the p + expected_size > end guard, and the pixel reader reads heap memory past the end of the allocated buffer..pbm, .ppm, or .pgm files with anomalous header values (e.g., width/height values near INT_MAX) in user download directories or email attachments."Invalid image size in image" in *Messages* buffer or system logs, which may indicate attempted exploitation that triggered the error path (patched versions) or silent over-read (unpatched versions).Upgrade GNU Emacs to version 31.0.91 or later, which includes the fix in commit b07e634 replacing unsafe signed integer multiplication with overflow-checked ckd_mul() calls in pbm_load. Until patching is feasible, users should avoid opening PBM, PPM, or PGM image files from untrusted sources in Emacs, and use alternative image viewers for such files. Linux distribution users should apply vendor-provided security updates (e.g., Fedora, openSUSE packages) as they become available (Emacs Release, Emacs Commit).
The vulnerability was reported by Tristan Madani via the GNU bug tracker (bug #81344) and was promptly fixed by the Emacs maintainers. Linux distribution security teams (Fedora, openSUSE) issued advisories and updated packages shortly after disclosure. No significant broader media coverage or notable researcher commentary beyond the initial bug report and vendor patch has been identified (GNU Bug #81344).
Disponibilité des correctifs sur les principales distributions Linux et leurs versions.
bionic (esm-apps)
xemacs21
bionic (esm-infra)
emacs25
devel
emacs
focal (esm-apps)
emacs
jammy
emacs
jammy (esm-apps)
emacs
noble
emacs
noble (esm-apps)
emacs
Source: Ce rapport a été généré à l’aide de l’IA
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."