{"schemaVersion":4,"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.98455,"severity":"high","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00: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":null},{"date":"2026-10-20T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.34452,"percentile":0.98455}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.34452,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.34452,"percentile":0.98455}]},"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":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"unspecified"}}],"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,"bounds":{"kind":"unspecified"}}],"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":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"unspecified"}}],"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,"bounds":{"kind":"unspecified"}}],"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,"bounds":{"kind":"unspecified"}}],"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,"bounds":{"kind":"unspecified"}}],"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,"bounds":{"kind":"unspecified"}},{"text":"r2:sp1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"r2:sp1"}}],"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,"bounds":{"kind":"unspecified"}},{"text":"r2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"r2"}}],"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,"bounds":{"kind":"unspecified"}}],"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,"bounds":{"kind":"unspecified"}}],"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}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 9.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,34,93],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.34452,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-08-06T16:30:48.183Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","version":"2.0","headline":true}],"epss":{"value":0.34452,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:29:55.203Z","stale":false,"partial":false}}