← Vulnerability feed

Vulnerability record · CVE-2007-3040 · published 12 September 2007

CVE-2007-3040: Microsoft Agent ActiveX Control Stack Buffer Overflow on Windows 2000

Microsoft · Windows 2000

A stack-based buffer overflow exists in agentdpv.dll 2.0.0.3425 within Microsoft Agent on Windows 2000 SP4. A crafted URL passed to the Agent (Agent.Control) ActiveX control overflows a buffer inside the Agent Service (agentsrv.exe) process. This is a distinct issue from CVE-2007-1205.

9.3 CVSS 2.0 High EPSS 54% · top 1.0% CWE-119 · Memory buffer overflow
9.3CVSS 2.0 base score
54%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
26References
16 Jun 2026Last modified by NVD

Description

Stack-based buffer overflow in agentdpv.dll 2.0.0.3425 in Microsoft Agent on Windows 2000 SP4 allows remote attackers to execute arbitrary code via a crafted URL to the Agent (Agent.Control) ActiveX control, which triggers an overflow within the Agent Service (agentsrv.exe) process, a different issue than CVE-2007-1205.

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

Automated analysis

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

high priorityRemote code execution with complete impact and a very high EPSS score, though limited to the legacy Windows 2000 SP4 platform and requiring medium access complexity.

What it is

A stack-based buffer overflow exists in agentdpv.dll 2.0.0.3425 within Microsoft Agent on Windows 2000 SP4. A crafted URL passed to the Agent (Agent.Control) ActiveX control overflows a buffer inside the Agent Service (agentsrv.exe) process. This is a distinct issue from CVE-2007-1205.

Impact

A remote attacker can execute arbitrary code in the context of the Agent Service process. Successful exploitation gives full compromise of confidentiality, integrity and availability on the affected host.

Attack surface

Reachable over the network via a crafted URL delivered to the Agent ActiveX control; the CVSS vector AV:N/AC:M/Au:N indicates no authentication is required, though some user interaction or a non-trivial condition is implied by the medium access complexity.

Exploitation

Not listed in CISA KEV and no ransomware usage is documented. EPSS is high (0.54428, 98.9th percentile), and references include vendor patch and US-CERT advisories, but no public exploit tag is present in the record.

What to do

  • Apply Microsoft security bulletin MS07-051 to update agentdpv.dll and the Agent Service.
  • Disable or remove the Microsoft Agent ActiveX control where it is not required.
  • Restrict or block untrusted URLs and ActiveX content reaching the Agent control via browser or email.
  • Upgrade or retire Windows 2000 SP4 systems, which no longer receive current security support.
  • Apply the vendor patch referenced by Secunia advisory 26753.

Detection

  • Monitor for crashes or abnormal termination of agentsrv.exe.
  • Alert on suspicious URL or ActiveX instantiation patterns targeting the Agent control.
  • Review host logs for unexpected child processes spawned by agentsrv.exe.
  • Track unpatched Windows 2000 SP4 hosts still exposing the Agent control.

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

Affected products

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

References

LinkTags
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=592
http://secunia.com/advisories/26753 PatchVendor Advisory
http://securityreason.com/securityalert/3124
http://securitytracker.com/id?1018677
http://www.kb.cert.org/vuls/id/716872 US Government Resource
http://www.osvdb.org/36934
http://www.securityfocus.com/archive/1/479096/100/0/threaded
http://www.securityfocus.com/bid/25566
http://www.us-cert.gov/cas/techalerts/TA07-254A.html US Government Resource
http://www.vupen.com/english/advisories/2007/3113 Vendor Advisory
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-051
https://exchange.xforce.ibmcloud.com/vulnerabilities/35752
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2116
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=592
http://secunia.com/advisories/26753 PatchVendor Advisory
http://securityreason.com/securityalert/3124
http://securitytracker.com/id?1018677
http://www.kb.cert.org/vuls/id/716872 US Government Resource
http://www.osvdb.org/36934
http://www.securityfocus.com/archive/1/479096/100/0/threaded
http://www.securityfocus.com/bid/25566
http://www.us-cert.gov/cas/techalerts/TA07-254A.html US Government Resource
http://www.vupen.com/english/advisories/2007/3113 Vendor Advisory
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-051
https://exchange.xforce.ibmcloud.com/vulnerabilities/35752
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2116

Track CVE-2007-3040 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-2008-4250Microsoft Windows Server service RPC path canonicalization buffer overflowThe Server service in multiple Windows versions fails to properly handle path canonicalization, allowing a crafted RPC request to overflow a buffer a…KEVEPSS 99%analysed8.8CVE-2009-1537Microsoft DirectShow QuickTime Parser NULL Byte Overwrite RCEThe QuickTime Movie Parser Filter in quartz.dll (DirectShow, DirectX 7.0 through 9.0c) contains an unspecified NULL byte overwrite flaw. A crafted Qu…KEVEPSS 51%analysed7.8CVE-2010-0232Windows kernel exception handler privilege escalation via NTVDMThe Windows kernel fails to properly validate certain BIOS calls when 16-bit application support is enabled on 32-bit x86 systems. A local user can c…KEVEPSS 29%analysed7.8CVE-2009-1123Microsoft Windows kernel improper validation allows local privilege escalationThe Windows kernel fails to properly validate changes to unspecified kernel objects, letting a local user elevate privileges through a crafted applic…KEVEPSS 4.9%analysed7.8CVE-2004-0210Microsoft Windows POSIX component buffer overflow allows local code executionThe POSIX subsystem in Windows NT and Windows 2000 contains a classic buffer overflow (CWE-120) that can be triggered by local users through crafted …KEVEPSS 7.2%analysed7.8CVE-2002-0367Windows NT/2000 smss.exe debugging subsystem privilege escalationThe smss.exe debugging subsystem in Windows NT and Windows 2000 fails to properly authenticate programs that connect to other programs, allowing a lo…KEVEPSS 4.9%analysed10.0CVE-2010-0269Microsoft windows 7 vulnerabilityThe SMB client in Microsoft Windows 2000 SP4, Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista Gold, SP1, and SP2, Windows Server 2008 …EPSS 28%10.0CVE-2010-0231Microsoft windows 2000 permissions and access controls vulnerabilityThe SMB implementation in the Server service in Microsoft Windows 2000 SP4, Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista Gold, SP1,…EPSS 41%

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