Skip to content
Emerging threatsCritical

CVE-2007-4776Visual Basic Memory Corruption

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.

Published Sep 10, 2007 · Updated Apr 22, 2026

Key Facts

Patch immediately
  • CVE-2007-4776 is a critical-severity vulnerability (CVSS 9.3 v2) affecting Visual Basic (Microsoft).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 49% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v2

9.3

AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS (30-day exploit likelihood)

49%

Higher than 98.8% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

56/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
Visual BasicMicrosoft6.0, 6.0-sp6n/a

Timeline

  1. Publicly disclosed

    Sep 10, 2007

  2. Last updated

    Apr 22, 2026

Weakness Type

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2007-4776 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.