CVE-2003-1407

Windows NT 4.0 - Buffer Overflow via Long Pathname Argument to cd Command

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2003-1407. PoCs published by 3APA3A.

AI-analyzed exploit summary This exploit leverages a buffer overflow in Windows NT/2000 cmd.exe by creating deeply nested directories with long paths (>256 chars) and triggering a crash via the 'cd' command. On NT 4.0, this could lead to code execution, while on Windows 2000, it results in a 'jailed' directory state.

Description

Buffer overflow in cmd.exe in Windows NT 4.0 may allow local users to execute arbitrary code via a long pathname argument to the cd command.

Exploits (1)

exploitdb WORKING POC VERIFIED
by 3APA3A · textdoswindows
https://www.exploit-db.com/exploits/22245

This exploit leverages a buffer overflow in Windows NT/2000 cmd.exe by creating deeply nested directories with long paths (>256 chars) and triggering a crash via the 'cd' command. On NT 4.0, this could lead to code execution, while on Windows 2000, it results in a 'jailed' directory state.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Windows NT 4.0, Windows 2000 (cmd.exe)
No auth needed
Prerequisites: Access to a command prompt on vulnerable Windows NT/2000 systems
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/311359
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/6829
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/11329
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/3251

Scores

EPSS 0.0343
EPSS Percentile 87.4%

Details

CWE
CWE-119
Status published
Products (1)
microsoft/windows_nt 4.0
Published Dec 31, 2003
Tracked Since Feb 18, 2026