Skip to content
Info disclosure Advisory Advanced CVE-2026-25181

Microsoft Windows GDI Bitmap Parsing Out-Of-Bound Read Information Disclosure Vulnerability

A flaw in how Windows GDI parses bitmap images allows crafted header data to cause a read past the end of an allocated buffer. An attacker could disclose sensitive information and, in combination with other vulnerabilities, potentially execute arbitrary code.

Anonymous Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Microsoft Windows. Interaction with the GDI library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

Anonymous, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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 bitmap header parsing logic does not properly validate the size or offset fields before reading from the buffer.

Impact

An attacker could disclose sensitive information and, in conjunction with other vulnerabilities, execute arbitrary code in the context of the current process.

What the attacker needed

Interaction with GDI library; crafted bitmap file

The fix

Microsoft has issued an update to correct this vulnerability.

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.

A bitmap is a common image file format. When Windows reads a specially crafted bitmap, it can accidentally read memory beyond the intended buffer, leaking data that should not be visible. This leaked data might help an attacker learn about the system or combine with another bug to run malicious code.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Anonymous

View all

2,270 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.