CVE-2013-3940

CVE-2013-3940 is a critical-severity vulnerability in Microsoft Windows 7 with a CVSS 2.0 base score of 9.3. Its EPSS exploit-prediction score of 34% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-190.

Key facts

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

Frequently asked questions

What is CVE-2013-3940?
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."
How severe is CVE-2013-3940?
CVE-2013-3940 has a CVSS 2.0 base score of 9.3, rated critical severity.
Is CVE-2013-3940 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 34% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2013-3940?
CVE-2013-3940 primarily affects Microsoft Windows 7. In total, 14 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2013-3940?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2013-3940 published?
CVE-2013-3940 was published on 2013-11-13 and last updated on 2026-06-16.

References

Affected products (14)

More vulnerabilities in Microsoft Windows 7

All CVEs affecting Microsoft Windows 7 →

Other CWE-190 (Integer Overflow or Wraparound) vulnerabilities

Browse all CWE-190 (Integer Overflow or Wraparound) vulnerabilities →