CVEfocus › CVE database › CVE-2026-77219

CVE-2026-77219GNU Emacs < 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader

CVSS 7.1 HighEPSS 0.1% (higher than 1% of CVEs)Published 2026-08-21Updated 2026-11-08Assigner: VulnCheck

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.

CWE-125CWE-190

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

39Fixed
24Fix pending
6Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10emacsFix pendingUBUNTU-CVE-2026-77219
Ubuntu 26.10xemacs21Fix pendingUBUNTU-CVE-2026-77219
Ubuntu 26.10xemacs21-packagesFix pendingUBUNTU-CVE-2026-77219
Ubuntu 26.04emacsFix pendingUBUNTU-CVE-2026-77219
Ubuntu 26.04xemacs21Under investigationUBUNTU-CVE-2026-77219
Ubuntu 26.04xemacs21-packagesUnder investigationUBUNTU-CVE-2026-77219
Ubuntu 24.04emacsFix pendingUBUNTU-CVE-2026-77219
Ubuntu 24.04xemacs21Under investigationUBUNTU-CVE-2026-77219
Ubuntu 24.04xemacs21-packagesUnder investigationUBUNTU-CVE-2026-77219
Ubuntu 22.04emacsFix pendingUBUNTU-CVE-2026-77219
Ubuntu 22.04xemacs21Under investigationUBUNTU-CVE-2026-77219
Ubuntu 22.04xemacs21-packagesUnder investigationUBUNTU-CVE-2026-77219
Ubuntu 20.04emacsFix pendingUBUNTU-CVE-2026-77219
Ubuntu 20.04xemacs21Fix pendingUBUNTU-CVE-2026-77219
Ubuntu 20.04xemacs21-packagesFix pendingUBUNTU-CVE-2026-77219
Ubuntu 18.04emacs25Fix pendingUBUNTU-CVE-2026-77219
Ubuntu 18.04xemacs21Fix pendingUBUNTU-CVE-2026-77219
Ubuntu 18.04xemacs21-packagesFix pendingUBUNTU-CVE-2026-77219
Ubuntu 16.04emacs24Fix pendingUBUNTU-CVE-2026-77219
Ubuntu 16.04xemacs21Fix pendingUBUNTU-CVE-2026-77219
Ubuntu 16.04xemacs21-packagesFix pendingUBUNTU-CVE-2026-77219
Debian 14emacsFix pendingDEBIAN-CVE-2026-77219
Debian 13emacsFix pendingDEBIAN-CVE-2026-77219
Debian 12emacsFix pendingDEBIAN-CVE-2026-77219
Red Hat Enterprise Linux 10emacsFixed1:29.4-14.el10_2.3RHSA-2026:98574
Red Hat Enterprise Linux 10emacs-commonFixed1:29.4-17.el10_3RHSA-2026:84591
Red Hat Enterprise Linux 10emacs-filesystemFixed1:29.4-17.el10_3RHSA-2026:84591
Red Hat Enterprise Linux 10emacs-lucidFixed1:29.4-14.el10_2.3RHSA-2026:98574
Red Hat Enterprise Linux 10emacs-nwFixed1:29.4-17.el10_3RHSA-2026:84591
Red Hat Enterprise Linux 9emacsFixed1:27.2-18.el9_8.2RHSA-2026:80507
Red Hat Enterprise Linux 9emacs-commonFixed1:27.2-18.el9_8.2RHSA-2026:80507
Red Hat Enterprise Linux 9emacs-filesystemFixed1:27.2-18.el9_8.2RHSA-2026:80507
Red Hat Enterprise Linux 9emacs-lucidFixed1:27.2-18.el9_8.2RHSA-2026:80507
Red Hat Enterprise Linux 9emacs-noxFixed1:27.2-18.el9_8.2RHSA-2026:80507
Red Hat Enterprise Linux 8emacsFixed1:26.1-15.el8_10.2RHSA-2026:80506
Red Hat Enterprise Linux 8emacs-commonFixed1:26.1-15.el8_10.2RHSA-2026:80506
Red Hat Enterprise Linux 8emacs-filesystemFixed1:26.1-15.el8_10.2RHSA-2026:80506
Red Hat Enterprise Linux 8emacs-lucidFixed1:26.1-15.el8_10.2RHSA-2026:80506
Red Hat Enterprise Linux 8emacs-noxFixed1:26.1-15.el8_10.2RHSA-2026:80506
Red Hat Enterprise Linux 8emacs-terminalFixed1:26.1-15.el8_10.2RHSA-2026:80506
Red Hat Enterprise Linux 7emacsFix pending
Affected
Red Hat Enterprise Linux 7emacs-commonFix pending
Affected
Red Hat Enterprise Linux 7emacs-elFix pending
Affected
Red Hat Enterprise Linux 7emacs-filesystemFix pending
Affected
Red Hat Enterprise Linux 7emacs-noxFix pending
Affected
Red Hat Enterprise Linux 7emacs-terminalFix pending
Affected
Red Hat Enterprise Linux 6emacsWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-elWill not fix
Out of support scope
Red Hat Enterprise Linux 6emacs-noxWill not fix
Out of support scope
AlmaLinux 10emacsFixed1:29.4-17.el10_3ALSA-2026:98574
AlmaLinux 10emacs-commonFixed1:29.4-17.el10_3ALSA-2026:98574
AlmaLinux 10emacs-filesystemFixed1:29.4-17.el10_3ALSA-2026:84591
AlmaLinux 10emacs-lucidFixed1:29.4-17.el10_3ALSA-2026:98574
AlmaLinux 10emacs-nwFixed1:29.4-17.el10_3ALSA-2026:98574
AlmaLinux 9emacsFixed1:27.2-18.el9_8.2ALSA-2026:80507
AlmaLinux 9emacs-commonFixed1:27.2-18.el9_8.2ALSA-2026:80507
AlmaLinux 9emacs-filesystemFixed1:27.2-18.el9_8.2ALSA-2026:80507
AlmaLinux 9emacs-lucidFixed1:27.2-18.el9_8.2ALSA-2026:80507
AlmaLinux 9emacs-noxFixed1:27.2-18.el9_8.2ALSA-2026:80507
AlmaLinux 8emacsFixed1:26.1-15.el8_10.2ALSA-2026:80506
AlmaLinux 8emacs-commonFixed1:26.1-15.el8_10.2ALSA-2026:80506
AlmaLinux 8emacs-filesystemFixed1:26.1-15.el8_10.2ALSA-2026:80506
AlmaLinux 8emacs-lucidFixed1:26.1-15.el8_10.2ALSA-2026:80506
AlmaLinux 8emacs-noxFixed1:26.1-15.el8_10.2ALSA-2026:80506
AlmaLinux 8emacs-terminalFixed1:26.1-15.el8_10.2ALSA-2026:80506
Rocky Linux 10emacsFixed1:29.4-17.el10_3RLSA-2026:98574
Rocky Linux 10emacs-commonFixed1:29.4-17.el10_3RLSA-2026:98574
Rocky Linux 10emacs-filesystemFixed1:29.4-17.el10_3RLSA-2026:98574
Rocky Linux 10emacs-lucidFixed1:29.4-17.el10_3RLSA-2026:98574
Rocky Linux 10emacs-nwFixed1:29.4-17.el10_3RLSA-2026:98574
Rocky Linux 9emacsFixed1:27.2-18.el9_8.2RLSA-2026:80507
Rocky Linux 8emacsFixed1:26.1-15.el8_10.2RLSA-2026:80506

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.