Skip to content
Vulnerability Intelligence

CVE-2008-1087

CriticalPublic exploit

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."

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
ProductAffected versionsFixed in
Windows 2000MicrosoftSee advisoryn/a
Windows 2003 ServerMicrosoftSee advisoryn/a
Windows-NtMicrosoft2008n/a
Windows VistaMicrosoftSee advisoryn/a
Windows XpMicrosoftSee advisoryn/a

Timeline

  1. Publicly disclosed

    Apr 8, 2008

  2. Last updated

    Apr 22, 2026

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

6 more references in the full CVE brief

FAQ

Common Questions.

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