{"id":"CVE-2008-1087","aliases":["EUVD-2008-1098","GHSA-h832-fj6x-qx37"],"status":"published","title":"Stack-based buffer overflow in GDI in Microsoft Windows 2000 SP4, XP SP2, Server 2003 SP1 and SP2...","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.\"","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.56603,"percentile":0.99066,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-119"],"published":"2008-04-08T23:00:00Z","modified":"2026-06-16T22:50:57Z","exploits":[{"source":"exploitdb","id":"EDB-5442","title":"Microsoft Windows - GDI Image Parsing Stack Overflow (MS08-021)","type":"local","platform":"windows","date":"2008-04-14","verified":true,"url":"https://www.exploit-db.com/exploits/5442"},{"source":"exploitdb","id":"EDB-6656","title":"Microsoft Windows - GDI (EMR_COLORMATCHTOTARGETW) (MS08-021)","type":"remote","platform":"windows","date":"2008-10-02","verified":true,"url":"https://www.exploit-db.com/exploits/6656"}],"products":[{"vendor":"microsoft","product":"windows-nt"},{"vendor":"microsoft","product":"windows_2000"},{"vendor":"microsoft","product":"windows_2003_server"},{"vendor":"microsoft","product":"windows_vista"},{"vendor":"microsoft","product":"windows_xp"}],"references":[{"url":"http://www.osvdb.org/44215","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA08-099A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","Third Party Advisory","US Government Resource"]},{"url":"http://marc.info/?l=bugtraq\u0026m=120845064910729\u0026w=2","tags":["vendor-advisory","x_refsource_HP","x_transferred","Mailing List"]},{"url":"http://www.vupen.com/english/advisories/2008/1145/references","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Broken Link"]},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2008/ms08-021","tags":["vendor-advisory","x_refsource_MS","x_transferred"]},{"url":"http://www.securityfocus.com/bid/28570","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5580","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/6656","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/5442","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://www.securitytracker.com/id?1019798","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://secunia.com/advisories/29704","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1087"},{"url":"https://github.com/advisories/GHSA-h832-fj6x-qx37"}],"sources":{"cve":[{"id":"CVE-2008-1087","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.\"","status":"published","published":"2008-04-08T23:00:00Z","modified":"2024-08-07T08:08:57.416Z","updated_at":"2026-11-02T14:34:47.71012Z"}],"euvd":[{"id":"EUVD-2008-1098","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.\"","status":"published","published":"2008-04-08T23:00:00Z","modified":"2024-08-07T08:08:57Z","updated_at":"2026-11-03T01:39:03.090998Z"}],"ghsa":[{"id":"GHSA-h832-fj6x-qx37","title":"Stack-based buffer overflow in GDI in Microsoft Windows 2000 SP4, XP SP2, Server 2003 SP1 and SP2...","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.\"","status":"published","published":"2022-05-01T23:36:26Z","modified":"2023-01-31T05:05:22Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:48:50.52088Z"}],"nvd":[{"id":"CVE-2008-1087","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.\"","status":"published","published":"2008-04-08T23:05:00Z","modified":"2026-06-16T22:50:57.75Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:25.857543Z"}]}}
