CVE-2003-0466
Reported by mitre · Published August 1, 2003
Off-by-one error in the fb_realpath() function, as derived from the realpath function in BSD, may allow attackers to execute arbitrary code, as demonstrated in wu-ftpd 2.5.0 through 2.6.2 via commands that cause pathnames of length MAXPATHLEN+1 to trigger a buffer overflow, including (1) STOR, (2) RETR, (3) APPE, (4) DELE, (5) MKD, (6) RMD, (7) STOU, or (8) RNTO.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| wu-ftpd | wuftpd | 2.6.2 |
| netbsd | netbsd | 1.6.1 |
| openbsd | openbsd | 3.3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| Washington University | wu-ftpd |
Timeline
- Aug 1, 2003 CVE Published
- Sep 23, 2010 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Apr 7, 2026 Distribution Patch
- Apr 7, 2026 Security Advisory (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2003-0466
vulnetix vdb fixes CVE-2003-0466
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2003-0466/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 20030804 Off-by-one Buffer Overflow Vulnerability in BSD libc realpath(3) mailing-listx_refsource_BUGTRAQ
- x_refsource_MISC
- 9446 third-party-advisoryx_refsource_SECUNIA
- 6602 vdb-entryx_refsource_OSVDB
- oval:org.mitre.oval:def:1970 vdb-entrysignaturex_refsource_OVAL
- 20060213 Latest wu-ftpd exploit :-s mailing-listx_refsource_BUGTRAQ
- 8315 vdb-entryx_refsource_BID
- 9423 third-party-advisoryx_refsource_SECUNIA
- 20030731 wu-ftpd fb_realpath() off-by-one bug mailing-listx_refsource_BUGTRAQ
- 20030731 wu-ftpd fb_realpath() off-by-one bug mailing-listx_refsource_VULNWATCH
- IMNX-2003-7+-019-01 vendor-advisoryx_refsource_IMMUNIX
- RHSA-2003:246 vendor-advisoryx_refsource_REDHAT
- 20060214 Re: Latest wu-ftpd exploit :-s mailing-listx_refsource_BUGTRAQ
- VU#743092 third-party-advisoryx_refsource_CERT-VN
- RHSA-2003:245 vendor-advisoryx_refsource_REDHAT
- SuSE-SA:2003:032 vendor-advisoryx_refsource_SUSE
- 1001257 vendor-advisoryx_refsource_SUNALERT
- DSA-357 vendor-advisoryx_refsource_DEBIAN
- 20030804 wu-ftpd-2.6.2 off-by-one remote exploit. mailing-listx_refsource_BUGTRAQ
- 1007380 vdb-entryx_refsource_SECTRACK
…and 7 more