--- title: "CVE-2003-0466: Off-by-one error in the fb_realpath()… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2003-0466 --- # CVE-2003-0466: Off-by-one error in the fb_realpath()… | CubePath ## 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. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2003-0466) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.78115 (78.1% probability) Percentile 99.6% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [20030804 Off-by-one Buffer Overflow Vulnerability in BSD libc realpath(3)](http://marc.info/?l=bugtraq&m=106002488209129&w=2) (marc.info) mailing-list - [isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt](http://isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt) - [9446](http://secunia.com/advisories/9446) (secunia.com) third-party-advisory - [6602](http://www.osvdb.org/6602) (osvdb.org) vdb-entry - [oval:org.mitre.oval:def:1970](https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1970) (oval.cisecurity.org) vdb-entry signature - [20060213 Latest wu-ftpd exploit :-s](http://www.securityfocus.com/archive/1/424852/100/0/threaded) (securityfocus.com) mailing-list - [8315](http://www.securityfocus.com/bid/8315) (securityfocus.com) vdb-entry - [9423](http://secunia.com/advisories/9423) (secunia.com) third-party-advisory - [20030731 wu-ftpd fb\_realpath() off-by-one bug](http://marc.info/?l=bugtraq&m=105967301604815&w=2) (marc.info) mailing-list - [20030731 wu-ftpd fb\_realpath() off-by-one bug](http://archives.neohapsis.com/archives/vulnwatch/2003-q3/0065.html) (archives.neohapsis.com) mailing-list - [IMNX-2003-7+-019-01](http://download.immunix.org/ImmunixOS/7+/Updates/errata/IMNX-2003-7+-019-01) (download.immunix.org) vendor-advisory - [RHSA-2003:246](http://www.redhat.com/support/errata/RHSA-2003-246.html) (redhat.com) vendor-advisory - [20060214 Re: Latest wu-ftpd exploit :-s](http://www.securityfocus.com/archive/1/425061/100/0/threaded) (securityfocus.com) mailing-list - [VU#743092](http://www.kb.cert.org/vuls/id/743092) (kb.cert.org) third-party-advisory - [RHSA-2003:245](http://www.redhat.com/support/errata/RHSA-2003-245.html) (redhat.com) vendor-advisory - [SuSE-SA:2003:032](http://www.novell.com/linux/security/advisories/2003%5F032%5Fwuftpd.html) (novell.com) vendor-advisory - [1001257](http://sunsolve.sun.com/search/document.do?assetkey=1-77-1001257.1-1) (sunsolve.sun.com) vendor-advisory - [DSA-357](http://www.debian.org/security/2003/dsa-357) (debian.org) vendor-advisory - [20030804 wu-ftpd-2.6.2 off-by-one remote exploit.](http://marc.info/?l=bugtraq&m=106001702232325&w=2) (marc.info) mailing-list - [1007380](http://securitytracker.com/id?1007380) (securitytracker.com) vdb-entry - [MDKSA-2003:080](http://www.mandriva.com/security/advisories?name=MDKSA-2003:080) (mandriva.com) vendor-advisory - [libc-realpath-offbyone-bo(12785)](https://exchange.xforce.ibmcloud.com/vulnerabilities/12785) (exchange.xforce.ibmcloud.com) vdb-entry - [FreeBSD-SA-03:08](http://marc.info/?l=bugtraq&m=106001410028809&w=2) (marc.info) vendor-advisory - [TLSA-2003-46](http://www.turbolinux.com/security/TLSA-2003-46.txt) (turbolinux.com) vendor-advisory - [9535](http://secunia.com/advisories/9535) (secunia.com) third-party-advisory - [9447](http://secunia.com/advisories/9447) (secunia.com) third-party-advisory ## Timeline 1. ID reserved Jun 26, 2003 2. Record published Aug 1, 2003 3. Record last updated Aug 8, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:58 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)