CVE-2008-1087
CriticalPublic exploitStack-based buffer overflow in GDI in Microsoft Windows 2000 SP4, XP SP2, Server 2003 SP1 and SP2, Vista, and Server 2008 allows remote attackers to execute arbitrary code via an EMF image file with crafted filename parameters, aka "GDI Stack Overflow Vulnerability."
Published Apr 8, 2008 · Updated Apr 22, 2026
Key Facts
Patch immediately- CVE-2008-1087 is a critical-severity vulnerability (CVSS 9.3 v2) affecting Windows 2000 (Microsoft), Windows 2003 Server (Microsoft), Windows-Nt (Microsoft) and 2 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 57% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v2
9.3
AV:N/AC:M/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
57%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2008-1087 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Stack-based buffer overflow in GDI in Microsoft Windows 2000 SP4, XP SP2, Server 2003 SP1 and SP2, Vista, and Server 2008 allows remote attackers to execute arbitrary code via an EMF image file with crafted filename parameters, aka "GDI Stack Overflow Vulnerability."
Affected Products
14 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Windows 2000Microsoft | See advisory | n/a |
| Windows 2003 ServerMicrosoft | See advisory | n/a |
| Windows-NtMicrosoft | 2008 | n/a |
| Windows VistaMicrosoft | See advisory | n/a |
| Windows XpMicrosoft | See advisory | n/a |
Timeline
Publicly disclosed
Apr 8, 2008
Last updated
Apr 22, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- advisory29704
- advisory1019798
- advisoryTA08-099A
- patch28570
- otherSSRT080048
FAQ
Common Questions.
Stack-based buffer overflow in GDI in Microsoft Windows 2000 SP4, XP SP2, Server 2003 SP1 and SP2, Vista, and Server 2008 allows remote attackers to execute arbitrary code via an EMF image file with crafted filename parameters, aka "GDI Stack Overflow Vulnerability."
Affected: Windows 2000 (Microsoft); Windows 2003 Server (Microsoft); Windows-Nt (Microsoft) versions 2008, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2008-1087 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo