CVE-2009-0901 Code injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code via malformed streams exploiting uninitialized VARIANT handling in the Microsoft Active Template Library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2009-0901?

CVE-2009-0901 is a high-severity code injection vulnerability in Microsoft Visual Studio, published on 29 Jul 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Active Template Library (ATL) in Microsoft Visual Studio .NET 2003 SP1, Visual Studio 2005 SP1 and 2008 Gold, and Visual C++ 2005 SP1 and 2008 Gold and SP1; and Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP2, Vista Gold, SP1, and SP2, and Server 2008 Gold and SP2; does not prevent VariantClear calls on an uninitialized VARIANT, which allows remote attackers to execute arbitrary code via a malformed stream to an ATL (1) component or (2) control, related to ATL headers and error handling, aka "ATL Uninitialized Object Vulnerability."

Weakness: CWE-94, CWE-457

Which versions are affected by CVE-2009-0901?

It affects 3 products.

Products include Microsoft Visual C\+\+, Microsoft Visual Studio, Microsoft Visual Studio .Net.

How do I fix CVE-2009-0901?

No fix has been published for CVE-2009-0901 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2009-0901 being exploited?

There is no known exploitation of CVE-2009-0901 in the wild and no public exploit code.

All Microsoft Visual Studio vulnerabilities

Sources

Also known as GHSA-5q85-2xfh-7gpf.

Is CVE-2009-0901 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free