CVE-2003-0466
CriticalPublic exploitOff-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,…
Published Jul 31, 2003 · Updated Mar 9, 2026 · Also known as DEBIAN-CVE-2003-0466, DSA-357
Key Facts
Patch immediately- CVE-2003-0466 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Wu Ftpd (Redhat), Mac OS X (Apple), Mac OS X Server (Apple) and 4 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 78% probability of exploitation in the next 30 days.
- Fixed versions are available, including Freebsd 5.0, Netbsd 1.6.1, Openbsd 3.3.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
78%
Higher than 99.5% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2003-0466 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Affected Products
9 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Wu FtpdRedhat | 2.6.1-16 | 2.6.2 |
| Mac OS XApple | 10.2.6 | n/a |
| Mac OS X ServerApple | 10.2.6 | n/a |
| FreebsdFreebsd | See advisory | 5.0 |
| NetbsdNetbsd | See advisory | 1.6.1 |
Patched Releases
Freebsd
5.0
Netbsd
1.6.1
Openbsd
3.3
Wu Ftpd
2.6.2-3woody1
wuftpd wu-ftpd
2.6.2
Timeline
Publicly disclosed
Jul 31, 2003
Last updated
Mar 9, 2026
Weakness Type
- CWE-193 Off-by-one Error
References
- advisoryRHSA-2003:245
- advisoryRHSA-2003:246
- advisory1007380
- advisorylibc-realpath-offbyone-bo(12785)
- advisoryVU#743092
FAQ
Common Questions.
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)…
Affected: Wu Ftpd (Redhat) versions 2.6.1-16; Mac OS X (Apple) versions 10.2.6; Mac OS X Server (Apple) versions 10.2.6, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Freebsd 5.0, Netbsd 1.6.1, Openbsd 3.3.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2003-0466 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo