CVE-2009-2504
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMultiple integer overflows in unspecified APIs in GDI+ in Microsoft .NET Framework 1.1 SP1, .NET Framework 2.0 SP1 and SP2, Windows XP SP2 and SP3, Windows Server 2003 SP2, Vista Gold and SP1, Server 2008 Gold, Office XP SP3, Office 2003 SP3, 2007 Microsoft Office System SP1 and SP2, Office Project 2002 SP1, Visio 2002 SP2, Office Word Viewer, Word Viewer 2003 Gold and SP3, Office Excel Viewer 2003 Gold and SP3, Office Excel Viewer, Office PowerPoint Viewer 2007 Gold, SP1, and SP2, Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats SP1 and SP2, Expression Web, Expression Web 2, Groove 2007 Gold and SP1, Works 8.5, SQL Server 2000 Reporting Services SP2, SQL Server 2005 SP2 and SP3, Report Viewer 2005 SP1, Report Viewer 2008 Gold and SP1, and Forefront Client Security 1.0 allow remote attackers to execute arbitrary code via (1) a crafted XAML browser application (XBAP), (2) a crafted ASP.NET application, or (3) a crafted .NET Framework application, aka "GDI+ .NET API Vulnerability."
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceMultiple integer overflow vulnerabilities in GDI+ APIs allow remote code execution when users view specially crafted XAML browser applications (XBAP), ASP.NET applications, or .NET Framework applications. The overflows can be triggered through malformed graphical content processed by affected GDI+ components.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versionsall versionsall versionsall versions= 1.1= 2.0= 6= 2005= 2008= 2005CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- M
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:M/Au:N/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Windows versionRun 'winver' or check system properties. Confirm if the system is Windows XP, Windows Server 2003, Windows Vista, or Windows Server 2008.Affected if The installed Windows version is any version of XP, 2003 Server, Vista, or 2008 Server.
-
Check .NET Framework versionInspect the installed .NET Framework versions by reviewing the directory C:\Windows\Microsoft.NET\Framework\ and looking for subdirectories v1.1.4322 or v2.0.50727. Alternatively, run 'reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP" /s' to list installed versions.Affected if .NET Framework version 1.1 or 2.0 is installed.
-
Confirm GDI+ exposure through Internet ExplorerCheck if Internet Explorer 6 is in use by launching IE and navigating to Help > About Internet Explorer, or by running 'reg query "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v Version' in Command Prompt.Affected if Internet Explorer version 6 is installed and used to browse untrusted content.
-
Check for Report Viewer installationInspect Add/Remove Programs (Programs and Features) for Microsoft Report Viewer 2005 or 2008, or check the registry under HKLM\SOFTWARE\Microsoft\ReportViewer for installed versions.Affected if Microsoft Report Viewer 2005 or 2008 is installed and processes untrusted graphical content.
-
Verify SQL Server 2005 presenceCheck for SQL Server 2005 installation by reviewing installed programs list or running 'SELECT @@VERSION' in SQL Server Management Studio if available.Affected if SQL Server 2005 is installed and exposes GDI+ functionality to untrusted data.
A system is affected if it runs any combination of Windows XP/2003/Vista/2008 with .NET Framework 1.1/2.0, IE6, Report Viewer 2005/2008, or SQL Server 2005, and these components process or display untrusted graphical content.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply Microsoft security updates for GDI+ vulnerability (MS09-062) across all affected products. Prioritize patching systems that process untrusted graphical content from external sources.
For .NET Framework: upgrade to .NET Framework 2.0 SP2 or .NET Framework 3.5 SP1 (which includes the fixed GDI+ implementation). For Windows: migrate to a supported Windows version (Windows 7 or later with current support).
- Identify the affected Microsoft product from the list (.NET Framework, Windows, Office, SQL Server, Report Viewer, or Forefront Client Security)
- Locate and apply the relevant Microsoft security update. For this vulnerability (GDI+ .NET API), the primary bulletins are MS09-071 (for .NET Framework) and potentially MS09-029 (for GDI+ core component)
- For .NET Framework 1.1: Apply the update from MS09-071 which addresses the specific integer overflows in GDI+ APIs
- For .NET Framework 2.0 SP1: Apply MS09-071 update, or preferably upgrade to .NET Framework 2.0 SP2 which includes the security fix
- For Windows XP/Server 2003/Vista/Server 2008: Ensure all security updates through the respective service packs are applied, particularly MS09-071
- For Office products: Apply the applicable Office security update from MS09-060 or MS09-065 depending on the specific product
- For SQL Server: Apply SQL Server security updates from MS09-015 or the relevant SQL Server security bulletin
- Verify the patch installation by checking the system's installed updates
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation16.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $10,240.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2009-2504 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2009-2504 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data