CVE-2003-0466
Off-by-one error in the fb_realpath() function, as derived from the realpath function in BSD, may...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2003-0466- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-193
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2003-0466- Updated
- 2026-11-02
EUVDEUVD-2003-0460 No score
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.
- Record
EUVD-2003-0460- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7c4w-gm97-vgqq No score
Off-by-one error in the fb_realpath() function, as derived from the realpath function in BSD, may...
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.
- Record
GHSA-7c4w-gm97-vgqq- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
wu-ftpdDebian:3.0 |
before 2.6.2-3woody1 | 2.6.2-3woody1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | WU-FTPD 2.6.2 - 'realpath()' Off-by-One Buffer Overflow | 2003-08-02 |
| Exploit-DB | WU-FTPD 2.6.0/2.6.1/2.6.2 - 'realpath()' Off-by-One Buffer Overflow | 2003-08-06 |
| Exploit-DB | FreeBSD 4.8 - 'realpath()' Off-by-One Buffer Overflow | 2003-07-31 |
| Exploit-DB | WU-FTPD 2.6.2 - Off-by-One Remote Command Execution | 2003-08-03 |
| Exploit-DB | WU-FTPD 2.6.2 - Remote Command Execution | 2003-08-11 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2003-0466 is a critical vulnerability (CVSS 9.8) in Wuftpd Wu-ftpd, published July 31, 2003. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 78.1%, the 99th percentile. Fixed in wu-ftpd 2.6.2-3woody1.
References
marc.info?l=bugtraq&m=106002488209129&w=2
isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt
secunia.com/advisories/9446
osvdb.org/6602
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1970
securityfocus.com/archive/1/424852/100/0/threaded
Show 22 moreShow less
securityfocus.com/bid/8315
secunia.com/advisories/9423
marc.info?l=bugtraq&m=105967301604815&w=2
archives.neohapsis.com/archives/vulnwatch/2003-q3/0065.html
download.immunix.org/ImmunixOS/7+/Updates/errata/IMNX-2003-7+-019-01
redhat.com/support/errata/RHSA-2003-246.html
securityfocus.com/archive/1/425061/100/0/threaded
kb.cert.org/vuls/id/743092
redhat.com/support/errata/RHSA-2003-245.html
novell.com/linux/security/advisories/2003_032_wuftpd.html
sunsolve.sun.com/search/document.do?assetkey=1-77-1001257.1-1
debian.org/security/2003/dsa-357
marc.info?l=bugtraq&m=106001702232325&w=2
securitytracker.com/id?1007380
mandriva.com/security/advisories?name=MDKSA-2003:080
exchange.xforce.ibmcloud.com/vulnerabilities/12785
marc.info?l=bugtraq&m=106001410028809&w=2
turbolinux.com/security/TLSA-2003-46.txt
secunia.com/advisories/9535
secunia.com/advisories/9447
nvd.nist.gov/vuln/detail/CVE-2003-0466
github.com/advisories/GHSA-7c4w-gm97-vgqq