Advisory

UBUNTU-CVE-2026-77219

Also known as: CVE-2026-77219

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Dates

Published
2026-08-21 21:17 UTC
Modified
2026-10-17 13:01 UTC

Affected packages and fixes

15 affected packages; affected: introduced 0
PackageSystemFix
xemacs21Debian packages (deb) · Ubuntu 16.04No fixed version is listed.
xemacs21-packagesDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
xemacs21Debian packages (deb) · Ubuntu 18.04No fixed version is listed.
xemacs21-packagesDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
xemacs21Debian packages (deb) · Ubuntu 20.04No fixed version is listed.
xemacs21-packagesDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
xemacs21Debian packages (deb) · Ubuntu 22.04No fixed version is listed.
xemacs21-packagesDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
xemacs21Debian packages (deb) · Ubuntu 24.04No fixed version is listed.
xemacs21-packagesDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
emacsDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
xemacs21Debian packages (deb) · Ubuntu 26.10No fixed version is listed.
xemacs21-packagesDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
xemacs21Debian packages (deb) · Ubuntu 26.04No fixed version is listed.
xemacs21-packagesDebian packages (deb) · Ubuntu 26.04No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences