{"id":"CVE-2007-4776","published":"2007-09-10T21:00:00Z","modified":"2024-08-07T15:08:33Z","title":"Buffer overflow in Microsoft Visual Basic 6.0 and Enterprise Edition 6.0 SP6 allows user-assisted remote attackers to…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.48964,"percentile":0.9891,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.osvdb.org/36936","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://secunia.com/advisories/26704","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/25629","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securitytracker.com/id?1018676","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.exploit-db.com/exploits/4431","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.exploit-db.com/exploits/4361","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.78},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":3,"earliest":"2007-09-04"},"metasploit":[{"name":"Microsoft Visual Basic VBP Stack Buffer Overflow","module":"exploit/windows/fileformat/ms_visual_basic_vbp","type":"exploit","disclosureDate":"2007-09-04","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/ms_visual_basic_vbp.rb"}],"first":{"date":"2007-09-04","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/4361"},"provenance":"source"},"summary":{"text":"The flaw is a buffer overflow in Microsoft Visual Basic 6.0 and Enterprise Edition 6.0 SP6, in the handling of Visual Basic project (.vbp) files by the VBP_Open routine and related OLE code. An attacker can execute arbitrary code by getting a user to open a crafted .vbp file containing an overlong Reference line, which requires user interaction and remote delivery of the file, with the vendor noting that few usage scenarios would make this exploitable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:30Z"},"euvd":{"id":"EUVD-2007-4757","exploited":false,"provenance":"source"},"exploits":[{"id":4361,"url":"https://www.exploit-db.com/exploits/4361","title":"Microsoft Visual Basic 6.0 - VBP_Open OLE Local CodeExec","date":"2007-09-04","verified":true,"provenance":"source"},{"id":4431,"url":"https://www.exploit-db.com/exploits/4431","title":"Microsoft Visual Basic Enterprise 6.0 SP6 - Code Execution","date":"2007-09-19","verified":true,"provenance":"source"},{"id":16680,"url":"https://www.exploit-db.com/exploits/16680","title":"Microsoft Visual Basic - '.VBP' Local Buffer Overflow (Metasploit)","date":"2010-09-25","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/4431","https://www.exploit-db.com/exploits/4361"]}