← Vulnerability feed

Vulnerability record · CVE-2007-4790 · published 10 September 2007

CVE-2007-4790: Microsoft Visual FoxPro ActiveX control stack buffer overflow via FoxDoCmd

Microsoft · Internet Explorer

A stack-based buffer overflow exists in the FPOLE.OCX 6.0.8450.0 and Foxtlib.ocx ActiveX controls shipped with the Microsoft Visual FoxPro 6.0 fpole 1.0 Type Library. Passing an overly long first argument to the FoxDoCmd function overflows a stack buffer, and the control can be instantiated in Internet Explorer 5.01, 6 SP1/SP2 and 7, so a web page can trigger the flaw in a browsing session.

7.5 CVSS 2.0 High EPSS 55% · top 1.0% CWE-119 · Memory buffer overflow
7.5CVSS 2.0 base score
55%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
18References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in certain ActiveX controls in (1) FPOLE.OCX 6.0.8450.0 and (2) Foxtlib.ocx, as used in the Microsoft Visual FoxPro 6.0 fpole 1.0 Type Library; and Internet Explorer 5.01, 6 SP1 and SP2, and 7; allows remote attackers to execute arbitrary code via a long first argument to the FoxDoCmd function.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityRemote code execution reachable through a browser with public exploit code and very high EPSS, though it requires user interaction and affects legacy software.

What it is

A stack-based buffer overflow exists in the FPOLE.OCX 6.0.8450.0 and Foxtlib.ocx ActiveX controls shipped with the Microsoft Visual FoxPro 6.0 fpole 1.0 Type Library. Passing an overly long first argument to the FoxDoCmd function overflows a stack buffer, and the control can be instantiated in Internet Explorer 5.01, 6 SP1/SP2 and 7, so a web page can trigger the flaw in a browsing session.

Impact

An attacker who triggers the overflow can execute arbitrary code in the context of the user running Internet Explorer, giving full control of the affected workstation.

Attack surface

Reached over the network by luring a user to a malicious or compromised web page that instantiates the vulnerable ActiveX control; no authentication is required, but user interaction (visiting the page and allowing the control to load) is needed.

Exploitation

Not listed in CISA KEV, but EPSS is high (0.549, ~99th percentile) and a public exploit reference exists (SecurityFocus BID 25571 tagged Exploit, plus an Exploit-DB entry), indicating exploit code is publicly available.

What to do

  • Apply Microsoft security bulletin MS08-010, which addresses this ActiveX control issue, and confirm the updated control version is installed.
  • Disable or kill-bit the FPOLE.OCX and Foxtlib.ocx controls where Visual FoxPro 6.0 runtime is not required.
  • Restrict ActiveX execution in Internet Explorer and enforce the highest practical zone security settings for internet content.
  • Remove or upgrade the legacy Visual FoxPro 6.0 runtime on systems that no longer need it.
  • Block or monitor delivery of the known public exploit payloads at the web gateway and endpoint.

Detection

  • Monitor for Internet Explorer processes loading FPOLE.OCX or Foxtlib.ocx, especially from untrusted or temporary paths.
  • Hunt for crashes or anomalous child processes spawned by iexplore.exe shortly after ActiveX instantiation.
  • Alert on network retrieval of pages or files matching known exploit signatures for this FoxDoCmd overflow.
  • Audit endpoints for the presence and version of FPOLE.OCX 6.0.8450.0 and Foxtlib.ocx to find unpatched hosts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2007-4790 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2015-0313Adobe Flash Player use-after-free allows remote code executionAdobe Flash Player contains a use-after-free (CWE-416) flaw reachable through unspecified vectors. It affects Flash Player before 13.0.0.269 and 14.x…KEVEPSS 95%analysed9.8CVE-2015-0311Adobe Flash Player unspecified flaw allows remote code executionCVE-2015-0311 is an unspecified vulnerability in Adobe Flash Player affecting versions through 13.0.0.262, 14.x, 15.x, and 16.x through 16.0.0.287 on…KEVEPSS 86%analysed9.8CVE-2014-1776Internet Explorer use-after-free in CMarkup::IsConnectedToPrimaryMarkupMicrosoft Internet Explorer 6 through 11 contains a use-after-free in the CMarkup::IsConnectedToPrimaryMarkup function that allows remote code execut…KEVEPSS 83%analysed8.8CVE-2021-27085Microsoft Internet Explorer remote code execution flawCVE-2021-27085 is a remote code execution vulnerability in Microsoft Internet Explorer. The record gives only a one-line description and no root-caus…KEVEPSS 5.4%analysed8.8CVE-2021-26411Microsoft Internet Explorer and Edge use-after-free memory corruptionCVE-2021-26411 is a use-after-free (CWE-416) memory corruption flaw in Microsoft Internet Explorer, with Microsoft Edge also listed as an affected pr…KEVEPSS 81%analysed8.8CVE-2019-0541Microsoft MSHTML engine input validation flaw allows remote code executionThe MSHTML engine in Microsoft Office, Internet Explorer and related viewers fails to properly validate input, allowing remote code execution. Becaus…KEVEPSS 53%analysed8.8CVE-2017-0222Internet Explorer memory corruption out-of-bounds write RCEInternet Explorer improperly accesses objects in memory, causing an out-of-bounds write (CWE-787) that can be turned into remote code execution. The …KEVEPSS 30%analysed8.8CVE-2017-0210Internet Explorer cross-domain policy bypass elevation of privilegeInternet Explorer fails to properly enforce cross-domain policies, allowing an attacker to read information from one domain and inject it into anothe…KEVEPSS 22%analysed

Source: NIST National Vulnerability Database (record CVE-2007-4790), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.