CVE-2008-3704
CVE-2008-3704 is a critical-severity vulnerability in Microsoft Visual Basic with a CVSS 2.0 base score of 9.3. Its EPSS exploit-prediction score of 56% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Critical (CVSS 2.0 base score 9.3)
- EPSS exploit prediction: 56% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Microsoft Visual Basic
- Published:
- Last modified:
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."
Frequently asked questions
- What is CVE-2008-3704?
- 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."
- How severe is CVE-2008-3704?
- CVE-2008-3704 has a CVSS 2.0 base score of 9.3, rated critical severity.
- Is CVE-2008-3704 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 56% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2008-3704?
- CVE-2008-3704 primarily affects Microsoft Visual Basic. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2008-3704?
- 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-2008-3704 published?
- CVE-2008-3704 was published on 2008-08-18 and last updated on 2026-06-16.
References
- http://secunia.com/advisories/31498
- http://support.avaya.com/elmodocs2/security/ASA-2008-473.htm
- http://www.securityfocus.com/bid/30674
- http://www.securitytracker.com/id?1020710
- http://www.us-cert.gov/cas/techalerts/TA08-344A.html
- http://www.vupen.com/english/advisories/2008/2380
- http://www.vupen.com/english/advisories/2008/3382
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2008/ms08-070
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44444
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5794
- https://www.exploit-db.com/exploits/6244
- https://www.exploit-db.com/exploits/6317
Affected products (7)
- cpe:2.3:a:microsoft:visual_basic:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_foxpro:8.0:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_foxpro:9.0:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_foxpro:9.0:sp2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_studio:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_studio_.net:2002:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_studio_.net:2003:sp1:*:*:*:*:*:*
More vulnerabilities in Microsoft Visual Basic
- CVE-2007-0065 — Critical (CVSS 10.0): Heap-based buffer overflow in Object Linking and Embedding (OLE) Automation in Microsoft Windows 2000 SP4, XP SP2,…
- CVE-2006-4732 — Critical (CVSS 10.0): Unspecified vulnerability in Microsoft Visual Basic (VB) 6 has an unknown impact ("overflow") via a project that…
- CVE-2003-0347 — Critical (CVSS 10.0): Heap-based buffer overflow in VBE.DLL and VBE6.DLL of Microsoft Visual Basic for Applications (VBA) SDK 5.0 through 6.3…
- CVE-2008-4255 — Critical (CVSS 9.3): Heap-based buffer overflow in mscomct2.ocx (aka Windows Common ActiveX control or Microsoft Animation ActiveX control)…
- CVE-2008-0392 — Critical (CVSS 9.3): Multiple buffer overflows in Microsoft Visual Basic Enterprise Edition 6.0 SP6 allow user-assisted remote attackers to…
- CVE-2007-4776 — Critical (CVSS 9.3): Buffer overflow in Microsoft Visual Basic 6.0 and Enterprise Edition 6.0 SP6 allows user-assisted remote attackers to…
All CVEs affecting Microsoft Visual Basic →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.