CVE-2007-4776
CVE-2007-4776 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 49% 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: 49% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Microsoft Visual Basic
- Published:
- Last modified:
Description
Buffer overflow in Microsoft Visual Basic 6.0 and Enterprise Edition 6.0 SP6 allows user-assisted remote attackers to execute arbitrary code via a Visual Basic project (vbp) file containing a long Reference line, related to VBP_Open and OLE. NOTE: there are limited usage scenarios under which this would be a vulnerability.
Frequently asked questions
- What is CVE-2007-4776?
- Buffer overflow in Microsoft Visual Basic 6.0 and Enterprise Edition 6.0 SP6 allows user-assisted remote attackers to execute arbitrary code via a Visual Basic project (vbp) file containing a long Reference line, related to VBP_Open and OLE. NOTE: there are limited usage scenarios under which this would be a vulnerability.
- How severe is CVE-2007-4776?
- CVE-2007-4776 has a CVSS 2.0 base score of 9.3, rated critical severity.
- Is CVE-2007-4776 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 49% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-4776?
- CVE-2007-4776 primarily affects Microsoft Visual Basic. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2007-4776?
- 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-2007-4776 published?
- CVE-2007-4776 was published on 2007-09-10 and last updated on 2026-06-16.
References
- http://secunia.com/advisories/26704
- http://www.osvdb.org/36936
- http://www.securityfocus.com/bid/25629
- http://www.securitytracker.com/id?1018676
- https://www.exploit-db.com/exploits/4361
- https://www.exploit-db.com/exploits/4431
Affected products (2)
- cpe:2.3:a:microsoft:visual_basic:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_basic:6.0:sp6:enterprise:*:*:*:*:*
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-3704 — Critical (CVSS 9.3): Heap-based buffer overflow in the MaskedEdit ActiveX control in Msmask32.ocx 6.0.81.69, and possibly other versions…
- 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…
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.