Windows GDI Information Disclosure Vulnerability (CVE-2026-65662)
An out-of-bounds read in Windows GDI lets an authorised local attacker disclose small portions of memory when the affected application processes a specially crafted Enhanced Metafile. The disclosure is limited to whatever data happens to sit in adjacent memory at the time.
Originally disclosed on Microsoft
Description
Out-of-bounds read in Windows GDI allows an authorized attacker to disclose information locally.
FAQ
What type of information could be disclosed by this vulnerability? This vulnerability may allow an attacker to access small portions of memory from the affected application when it processes a specially crafted Enhanced Metafile (EMF). This issue is an out‑of‑bounds read, any disclosure would be limited to whatever data happens to reside in adjacent memory at the time.
Windows GDI
Windows GDI
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the EMF parsing code in Windows GDI does not validate a length or offset before reading, so it reads past the end of a buffer.
Impact
An authorised local attacker could disclose small portions of memory from the affected application, limited to adjacent memory contents; the text does not claim remote exploitation.
What the attacker needed
Local access to the machine; ability to run code as an authorised user; a crafted EMF file
The fix
Microsoft should validate buffer lengths and offsets when parsing Enhanced Metafiles in GDI; the text does not say a patch has shipped.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Windows GDI is a long-standing part of Windows that draws graphics and text on screen. An out-of-bounds read means the program looks at memory just past the end of a buffer it was given, and can hand that stray data back to whoever supplied the file. Here a crafted Enhanced Metafile, a Windows image format, triggers that read, but only someone already able to run code on the machine can use it.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.