CVE-2007-4776: Microsoft Visual Basic

High severity, CVSS 9.3. EPSS: 49% chance of exploitation in the next 30 days.

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.

Affected products

Published 2007-09-10. Last modified 2026-06-16.