CVE-2007-3681

WinPcap - Memory Corruption via IOCTL 9031 BIOCGSTATS Handler

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-3681. PoCs published by Mario Ballano Bárcena.

AI-analyzed exploit summary This exploit targets a privilege escalation vulnerability in WinPcap's NPF.SYS driver (CVE-2007-3681). It manipulates the driver's IOCTL handling to overwrite kernel memory, achieving arbitrary code execution in kernel mode via a crafted shellcode.

Description

The IOCTL 9031 (BIOCGSTATS) handler in the NPF.SYS device driver in WinPcap before 4.0.1 allows local users to overwrite memory and execute arbitrary code via malformed Interrupt Request Packet (Irp) parameters.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Mario Ballano Bárcena · clocalwindows
https://www.exploit-db.com/exploits/4165

This exploit targets a privilege escalation vulnerability in WinPcap's NPF.SYS driver (CVE-2007-3681). It manipulates the driver's IOCTL handling to overwrite kernel memory, achieving arbitrary code execution in kernel mode via a crafted shellcode.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: WinPcap versions 4.0 and prior
No auth needed
Prerequisites: WinPcap driver loaded (e.g., after using Wireshark) · Non-admin user access
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (12)

Core 12
Core References
Various Sources x_refsource_confirm
http://www.winpcap.org/misc/changelog.htm
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1018350
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/35309
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4165
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25982
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37889
Third Party Advisory third-party-advisory x_refsource_idefense
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=550
Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24829
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/473270/100/0/threaded
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/473297/100/0/threaded
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/473301/100/0/threaded
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/2468

Scores

EPSS 0.0238
EPSS Percentile 81.7%

Details

Status published
Products (2)
winpcap/winpcap 3.1
winpcap/winpcap 4.0
Published Jul 11, 2007
Tracked Since Feb 18, 2026