CVE-2009-2495

CVE-2009-2495 is a medium-severity vulnerability in Microsoft Visual C++ with a CVSS 3.x base score of 6.5. Its EPSS exploit-prediction score of 42% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-200.

Key facts

Description

The Active Template Library (ATL) in Microsoft Visual Studio .NET 2003 SP1, Visual Studio 2005 SP1 and 2008 Gold and SP1, and Visual C++ 2005 SP1 and 2008 Gold and SP1 does not properly enforce string termination, which allows remote attackers to obtain sensitive information via a crafted HTML document with an ATL (1) component or (2) control that triggers a buffer over-read, related to ATL headers and buffer allocation, aka "ATL Null String Vulnerability."

Frequently asked questions

What is CVE-2009-2495?
The Active Template Library (ATL) in Microsoft Visual Studio .NET 2003 SP1, Visual Studio 2005 SP1 and 2008 Gold and SP1, and Visual C++ 2005 SP1 and 2008 Gold and SP1 does not properly enforce string termination, which allows remote attackers to obtain sensitive information via a crafted HTML document with an ATL (1) component or (2) control that triggers a buffer over-read, related to ATL headers and buffer allocation, aka "ATL Null String Vulnerability."
How severe is CVE-2009-2495?
CVE-2009-2495 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2009-2495 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 42% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2009-2495?
CVE-2009-2495 primarily affects Microsoft Visual C++. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2009-2495?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2009-2495 published?
CVE-2009-2495 was published on 2009-07-29 and last updated on 2026-06-16.

References

Affected products (8)

More vulnerabilities in Microsoft Visual C++

All CVEs affecting Microsoft Visual C++ →

Other CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities

Browse all CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities →