CVE-2008-3704
CriticalExploitedPublic exploitHeap-based buffer overflow in the MaskedEdit ActiveX control in Msmask32.ocx 6.0.81.69, and possibly other versions before 6.0.84.18, in Microsoft Visual Studio 6.0, Visual Basic 6.0, Visual Studio .NET 2002 SP1 and 2003 SP1, and Visual FoxPro 8.0 SP1 and 9.0 SP1 and SP2 allows…
Published Aug 18, 2008 · Updated Apr 22, 2026
Key Facts
Patch immediately- CVE-2008-3704 is a critical-severity vulnerability (CVSS 9.3 v2) affecting Visual Basic (Microsoft), Visual Foxpro (Microsoft), Visual Studio (Microsoft) and 1 more product.
- It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Aug 18, 2008. Public exploit code is available.
- EPSS estimates a 56% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v2
9.3
AV:N/AC:M/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
56%
Higher than 99.0% of all scored CVEs
Exploited in the wild
Yes
2 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2008-3704 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Heap-based buffer overflow in the MaskedEdit ActiveX control in Msmask32.ocx 6.0.81.69, and possibly other versions before 6.0.84.18, in Microsoft Visual Studio 6.0, Visual Basic 6.0, Visual Studio .NET 2002 SP1 and 2003 SP1, and Visual FoxPro 8.0 SP1 and 9.0 SP1 and SP2 allows remote attackers to execute arbitrary code via a long Mask parameter, related to not "validating property values with boundary checks," as exploited in the wild in August 2008, aka "Masked Edit Control Memory Corruption Vulnerability."
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Aug 18, 2008 | n/a | Not reported |
| CIRCL KEV | Aug 18, 2008 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
7 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Visual BasicMicrosoft | 6.0 | n/a |
| Visual FoxproMicrosoft | 8.0-sp1, 9.0-sp1, 9.0-sp2 | n/a |
| Visual StudioMicrosoft | 6.0 | n/a |
| Visual Studio .netMicrosoft | 2002-sp1, 2003-sp1 | n/a |
Timeline
Publicly disclosed
Aug 18, 2008
Added to Industry KEV feed
Aug 18, 2008
Added to CIRCL KEV
Aug 18, 2008
Last updated
Apr 22, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
- advisory31498
- advisoryADV-2008-2380
- advisoryADV-2008-3382
- patch30674
- exploitMSF ms08_070_visual_studio_msmask.rb
FAQ
Common Questions.
Heap-based buffer overflow in the MaskedEdit ActiveX control in Msmask32.ocx 6.0.81.69, and possibly other versions before 6.0.84.18, in Microsoft Visual Studio 6.0, Visual Basic 6.0, Visual Studio .NET 2002 SP1 and 2003 SP1, and Visual FoxPro 8.0 SP1 and 9.0 SP1 and SP2 allows remote attackers to execute arbitrary co…
Affected: Visual Basic (Microsoft) versions 6.0; Visual Foxpro (Microsoft) versions 8.0-sp1, 9.0-sp1, 9.0-sp2; Visual Studio (Microsoft) versions 6.0, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Aug 18, 2008.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2008-3704 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo