CVE catalog

CVE-2026-77219

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 ele

[CVE catalog]

Severity
High · CVSS 7.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.13% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianemacssid1:30.2+1-11vulnerable
Debianemacsforky1:30.2+1-11vulnerable
Debianemacstrixie1:30.1+1-6+deb13u1vulnerable
Debianemacstrixie-security1:30.1+1-6+deb13u1vulnerable
Debianemacsbookworm1:28.2+1-15+deb12u4vulnerable
Debianemacsbookworm-security1:28.2+1-15+deb12u4vulnerable
Suseemacslinux enterprise server 16.030.2-160000.3.1fixed
Suseemacslinux enterprise server for sap applications 16.030.2-160000.3.1fixed
Suseemacslinux enterprise module for basesystem 15 sp727.2-150400.3.31.2fixed
Suseemacslinux enterprise module for desktop applications 15 sp727.2-150400.3.31.2fixed
Suseemacslinux enterprise high performance computing 15 sp4-espos27.2-150400.3.31.2fixed
Suseemacslinux enterprise high performance computing 15 sp4-ltss27.2-150400.3.31.2fixed
Suseemacslinux enterprise high performance computing 15 sp5-espos27.2-150400.3.31.2fixed
Suseemacslinux enterprise high performance computing 15 sp5-ltss27.2-150400.3.31.2fixed
Suseemacslinux enterprise server 15 sp4-ltss27.2-150400.3.31.2fixed
Suseemacslinux enterprise server 15 sp5-ltss27.2-150400.3.31.2fixed
Suseemacslinux enterprise server 15 sp6-ltss27.2-150400.3.31.2fixed
Suseemacslinux enterprise server for sap applications 15 sp427.2-150400.3.31.2fixed
Suseemacslinux enterprise server for sap applications 15 sp527.2-150400.3.31.2fixed
Suseemacslinux enterprise server for sap applications 15 sp627.2-150400.3.31.2fixed
Suseemacslinux enterprise server 12 sp5-ltss24.3-25.26.1fixed
Suseemacslinux enterprise server ltss extended security 12 sp524.3-25.26.1fixed
Opensuseemacsleap 16.030.2-160000.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianemacssourcesid(unfixed)not yet assignedNot reported[1145175]
Debianemacssourceforky(unfixed)not yet assignedNot reported[1145175]
Debianemacssourcetrixie(unfixed)not yet assignedNot reported[1145175]
Debianemacssourcebookworm(unfixed)not yet assignedNot reported[1145175]
Suseemacsrpmlinux enterprise server 16.030.2-160000.3.1Not reportedSUSE-SU-2026:23589-1Not reported
Suseemacsrpmlinux enterprise server for sap applications 16.030.2-160000.3.1Not reportedSUSE-SU-2026:23589-1Not reported
Suseemacsrpmlinux enterprise module for basesystem 15 sp727.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise module for desktop applications 15 sp727.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise high performance computing 15 sp4-espos27.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise high performance computing 15 sp4-ltss27.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise high performance computing 15 sp5-espos27.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise high performance computing 15 sp5-ltss27.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise server 15 sp4-ltss27.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise server 15 sp5-ltss27.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise server 15 sp6-ltss27.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise server for sap applications 15 sp427.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise server for sap applications 15 sp527.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise server for sap applications 15 sp627.2-150400.3.31.2Not reportedSUSE-SU-2026:4083-1Not reported
Suseemacsrpmlinux enterprise server 12 sp5-ltss24.3-25.26.1Not reportedSUSE-SU-2026:3993-1Not reported
Suseemacsrpmlinux enterprise server ltss extended security 12 sp524.3-25.26.1Not reportedSUSE-SU-2026:3993-1Not reported
Opensuseemacsrpmleap 16.030.2-160000.3.1Not reportedOPENSUSE-SU-2026:21711-1Not reported

[Debian bug #1145175]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [emacs]Affected
    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

  • Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

  • [emacs-common]Affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

  • [emacs-el]Affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · all · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · all · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · all · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

  • [emacs-gtk]Affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

  • [emacs-lucid]Affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

  • [emacs-nox]Affected

    Source package: [emacs]

    Details (6)
    • 1:28.2+1-15+deb12u4 · amd64 · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · amd64 · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:28.2+1-15+deb12u4 · arm64 · bookworm-security

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

  • [emacs-pgtk]Affected

    Source package: [emacs]

    Details (2)
    • 1:30.1+1-6~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

    • 1:30.1+1-6~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · emacs · debian · bookworm; nvd · emacs · debian · 12

[Debian 13 (Trixie)]

  • [emacs]Affected
    Details (4)
    • 1:30.1+1-6 · all · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6 · all · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · all · trixie-security

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · all · trixie-security

      Affected

      nvd · emacs · debian · 13

  • Source package: [emacs]

    Details (4)
    • 1:30.1+1-6 · amd64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6 · arm64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · amd64 · trixie-security

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · arm64 · trixie-security

      Affected

      nvd · emacs · debian · 13

  • [emacs-common]Affected

    Source package: [emacs]

    Details (4)
    • 1:30.1+1-6 · all · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6 · all · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · all · trixie-security

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · all · trixie-security

      Affected

      nvd · emacs · debian · 13

  • [emacs-el]Affected

    Source package: [emacs]

    Details (4)
    • 1:30.1+1-6 · all · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6 · all · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · all · trixie-security

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · all · trixie-security

      Affected

      nvd · emacs · debian · 13

  • [emacs-gtk]Affected

    Source package: [emacs]

    Details (4)
    • 1:30.1+1-6 · amd64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6 · arm64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · amd64 · trixie-security

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · arm64 · trixie-security

      Affected

      nvd · emacs · debian · 13

  • [emacs-lucid]Affected

    Source package: [emacs]

    Details (4)
    • 1:30.1+1-6 · amd64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6 · arm64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · amd64 · trixie-security

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · arm64 · trixie-security

      Affected

      nvd · emacs · debian · 13

  • [emacs-nox]Affected

    Source package: [emacs]

    Details (4)
    • 1:30.1+1-6 · amd64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6 · arm64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · amd64 · trixie-security

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · arm64 · trixie-security

      Affected

      nvd · emacs · debian · 13

  • [emacs-pgtk]Affected

    Source package: [emacs]

    Details (4)
    • 1:30.1+1-6 · amd64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6 · arm64 · trixie

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · amd64 · trixie-security

      Affected

      nvd · emacs · debian · 13

    • 1:30.1+1-6+deb13u1 · arm64 · trixie-security

      Affected

      nvd · emacs · debian · 13

Observed:

References