Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-77219: Integer Overflow or Wraparound in GNU Emacs

0
Medium
VulnerabilityCVE-2026-77219cvecve-2026-77219
Published: 08/21/2026 (08/21/2026, 20:20:45 UTC)
Source: CVE Database V5
Vendor/Project: GNU
Product: Emacs

Description

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
Emacs
pkg:github/Emacs
Affected versions
<31.0.91

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 20:52:43 UTC

Technical Analysis

CVE-2026-77219 is an integer overflow vulnerability in GNU Emacs before version 31.0.91 affecting the PBM/PPM/PGM image loader. The vulnerability arises because the image loader multiplies image dimensions and channel count using signed integer arithmetic. For sufficiently large values, this multiplication wraps to a negative number, bypassing bounds checks and causing the pixel reader to read heap memory past the allocated buffer. The leaked heap memory contents are then interpreted as pixel color values and rendered on screen, potentially exposing sensitive memory data.

Potential Impact

An attacker can cause GNU Emacs to leak heap memory contents by opening a specially crafted image file. This memory disclosure could reveal sensitive information stored in heap memory. The vulnerability does not allow code execution or privilege escalation but can compromise confidentiality by exposing internal memory data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid opening untrusted PBM/PPM/PGM images with large dimensions or elevated max color indices in affected versions of GNU Emacs.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-20T18:25:46.943Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a88b714acd9273b49b41695

Added to database: 08/21/2026, 20:37:40 UTC

Last enriched: 08/21/2026, 20:52:43 UTC

Last updated: 08/21/2026, 21:52:54 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses