{"id":"CVE-2003-0466","published":"2003-08-01T04:00:00Z","modified":"2024-08-08T01:58:10Z","title":"Off-by-one error in the fb_realpath() function, as derived from the realpath function in BSD, may allow attackers to…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an off-by-one error in the fb_realpath() function, derived from BSD's realpath, which affects wu-ftpd versions 2.5.0 through 2.6.2. An attacker who can send FTP commands such as STOR, RETR, APPE, DELE, MKD, RMD, STOU, or RNTO with a pathname of length MAXPATHLEN+1 can trigger a buffer overflow and potentially execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:20:47Z"},"cvss":null,"epss":{"score":0.78115,"percentile":0.99575,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=106002488209129&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/9446","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.osvdb.org/6602","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1970","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securityfocus.com/archive/1/424852/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/bid/8315","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/9423","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://marc.info/?l=bugtraq&m=105967301604815&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://archives.neohapsis.com/archives/vulnwatch/2003-q3/0065.html","tags":["mailing-list","x_refsource_VULNWATCH"]},{"url":"http://download.immunix.org/ImmunixOS/7+/Updates/errata/IMNX-2003-7+-019-01","tags":["vendor-advisory","x_refsource_IMMUNIX"]},{"url":"http://www.redhat.com/support/errata/RHSA-2003-246.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/archive/1/425061/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.kb.cert.org/vuls/id/743092","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.redhat.com/support/errata/RHSA-2003-245.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.novell.com/linux/security/advisories/2003_032_wuftpd.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-77-1001257.1-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://www.debian.org/security/2003/dsa-357","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://marc.info/?l=bugtraq&m=106001702232325&w=2","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://securitytracker.com/id?1007380","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2003:080","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/12785","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://marc.info/?l=bugtraq&m=106001410028809&w=2","tags":["vendor-advisory","x_refsource_FREEBSD"]},{"url":"http://www.turbolinux.com/security/TLSA-2003-46.txt","tags":["vendor-advisory","x_refsource_TURBO"]},{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-011.txt.asc","tags":["vendor-advisory","x_refsource_NETBSD"]},{"url":"http://secunia.com/advisories/9535","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/9447","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2003-0460","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2003-0460","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":74,"url":"https://www.exploit-db.com/exploits/74","title":"WU-FTPD 2.6.2 - Off-by-One Remote Command Execution","type":"remote","platform":"linux","date":"2003-08-03","verified":true,"provenance":"source"},{"id":78,"url":"https://www.exploit-db.com/exploits/78","title":"WU-FTPD 2.6.2 - Remote Command Execution","type":"remote","platform":"linux","date":"2003-08-11","verified":true,"provenance":"source"},{"id":22974,"url":"https://www.exploit-db.com/exploits/22974","title":"WU-FTPD 2.6.2 - 'realpath()' Off-by-One Buffer Overflow","type":"remote","platform":"unix","date":"2003-08-02","verified":true,"provenance":"source"},{"id":22975,"url":"https://www.exploit-db.com/exploits/22975","title":"WU-FTPD 2.6.0/2.6.1/2.6.2 - 'realpath()' Off-by-One Buffer Overflow","type":"remote","platform":"unix","date":"2003-08-06","verified":true,"provenance":"source"},{"id":22976,"url":"https://www.exploit-db.com/exploits/22976","title":"FreeBSD 4.8 - 'realpath()' Off-by-One Buffer Overflow","type":"remote","platform":"freebsd","date":"2003-07-31","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":5,"earliest":"2003-07-31"},"first":{"date":"2003-07-31","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/22976"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2003-07-31","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-22976)","url":"https://www.exploit-db.com/exploits/22976","provenance":"source"},{"date":"2003-08-01","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2003-0466","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9958"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"5 Exploit-DB entries"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}