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

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

Affected products (2)

More vulnerabilities in Microsoft Visual Basic

All CVEs affecting Microsoft Visual Basic →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →