PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-77219 GNU CVE debrief

GNU Emacs before 31.0.91 contains a heap over-read vulnerability in the PBM/PPM/PGM image loader. This issue allows an attacker to leak heap memory contents by providing a crafted image with large dimensions and an elevated max color index. The vulnerability arises from the image loader's use of signed integer arithmetic to multiply image dimensions and channel count, which can wrap to a negative number for sufficiently large values. This bypasses the bounds check and causes the pixel reader to access heap memory past the allocated buffer. The over-read contents are interpreted as pixel color values and rendered on screen.

Vendor
GNU
Product
Emacs
CVSS
MEDIUM 6.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-21
Original CVE updated
2026-11-08
Advisory published
2026-08-21
Advisory updated
2026-11-08

Who should care

Defenders responsible for GNU Emacs installations should assess exposure and prioritize updates to address the vulnerability. This includes system administrators, security teams, and developers working with Emacs.

Why it matters

Defenders should care about CVE-2026-77219 because it allows an attacker to leak heap memory contents in GNU Emacs versions before 31.0.91. The vulnerability is triggered by a crafted PBM/PPM/PGM image and can lead to the rendering of incorrect pixel color values. Defenders responsible for Emacs installations should assess exposure, prioritize updates to version 31.0.91 or later, and monitor systems for potential exploitation attempts. The vulnerability's impact is primarily related to information disclosure and visual corruption, rather than code execution or data theft.

  • Potential leak of sensitive heap memory contents
  • Rendering of incorrect pixel color values on screen
  • Possible exploitation attempts require monitoring
  • Verification of patch application and system integrity

Technical summary

The GNU Emacs PBM/PPM/PGM image loader is vulnerable to a heap over-read due to an integer overflow. This occurs when the loader multiplies image dimensions and channel count using signed integer arithmetic, which can wrap to a negative number for sufficiently large values. This bypasses the bounds check and causes the pixel reader to access heap memory past the allocated buffer. The vulnerability affects GNU Emacs versions before 31.0.91 and can be triggered by a crafted image with large dimensions and an elevated max color index. Defenders should prioritize updating GNU Emacs to version 31.0.91 or later to address the heap over-read vulnerability in the PBM/PPM/PGM image loader.

Defensive priority

Defenders should prioritize updating GNU Emacs to version 31.0.91 or later to address the heap over-read vulnerability in the PBM/PPM/PGM image loader.

Recommended defensive actions

  • Update GNU Emacs to version 31.0.91 or later
  • Review and apply patches from vendors and third-party sources
  • Monitor systems for potential exploitation attempts
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description, affected versions, and references to patches and advisories. Defenders should verify patch application, review system logs for potential exploitation attempts, and assess exposure in their environments. The vulnerability affects GNU Emacs versions before 31.0.91 and is triggered by a crafted PBM/PPM/PGM image. Additional information can be found in the official CVE Program record and NIST NVD detail page.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-77219 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-77219

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-77219 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-77219

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • GNU Emacs < 31.0.91 Heap Over-Read via PBM/PPM/PGM Image Loader

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/77xxx/CVE-2026-77219.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/emacs-mirror/emacs/releases/tag/emacs-31.0.91

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/emacs-mirror/emacs/commit/b07e634e4cf45162ae0178e32092b040587f2c6c

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/gnu-emacs-heap-over-read-via-pbm-ppm-pgm-image-loader

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.