{"schemaVersion":3,"id":"CVE-2013-3940","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Integer overflow in the Graphics Device Interface (GDI) in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2012 Gold and R2, and Windows RT Gold and 8.1 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted image in a Windows Write (.wri) document, which is not properly handled in WordPad, aka \"Graphics Device Interface Integer Overflow Vulnerability.\"","dates":{"published":"2013-11-13T00:00:00.000Z","modified":"2024-08-06T16:30:48.183Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.34452,"percentile":0.98406,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.34452},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.34452,"percentile":0.98406}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.34452,"percentile":0.98406}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"microsoft","product":"windows_7","name":"windows 7","label":"windows_7","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_7"},{"vendor":"microsoft","product":"windows_8","name":"windows 8","label":"windows_8","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_8"},{"vendor":"microsoft","product":"windows_8.1","name":"windows 8.1","label":"windows_8.1","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_81"},{"vendor":"microsoft","product":"windows_rt","name":"windows rt","label":"windows_rt","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_rt"},{"vendor":"microsoft","product":"windows_rt_8.1","name":"windows rt 8.1","label":"windows_rt_8.1","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_rt_81"},{"vendor":"microsoft","product":"windows_server_2003","name":"windows server 2003","label":"windows_server_2003","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_server_2003"},{"vendor":"microsoft","product":"windows_server_2008","name":"windows server 2008","label":"windows_server_2008","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null},{"text":"r2:sp1","noFixRecorded":false,"fixedIn":null}],"versionsText":"na | r2:sp1","eol":null,"hubHref":"/vendor/microsoft/windows_server_2008"},{"vendor":"microsoft","product":"windows_server_2012","name":"windows server 2012","label":"windows_server_2012","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null},{"text":"r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"na | r2","eol":null,"hubHref":"/vendor/microsoft/windows_server_2012"},{"vendor":"microsoft","product":"windows_vista","name":"windows vista","label":"windows_vista","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_vista"},{"vendor":"microsoft","product":"windows_xp","name":"windows xp","label":"windows_xp","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/microsoft/windows_xp"}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.us-cert.gov/ncas/alerts/TA13-317A","label":"www.us-cert.gov/ncas/alerts/TA13-317A","hostname":"www.us-cert.gov","tags":["Third Party Advisory","X Refsource CERT","US Government Resource"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18722","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A18722","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Third Party Advisory"]},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2013/ms13-089","label":"docs.microsoft.com/en-us/security-updates/securitybulletins/2013/ms13-089","hostname":"docs.microsoft.com","tags":["Vendor Advisory","X Refsource MS","Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2013-11-13T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T16:30:48.183Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:42:40.965Z","stale":false,"partial":false}}