CWE
NVD-CWE-Other 119 193
Advisory Published
Updated

CVE-2003-0466: Buffer Overflow

First published: Fri Aug 01 2003(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Red Hat wu-ftpd=2.6.1-16
Washington University wu-ftpd>=2.5.0<=2.6.2
Apple iOS and macOS=10.2.6
Apple macOS Server=10.2.6
FreeBSD FreeBSD>=4.0<=5.0
NetBSD NetBSD>=1.5<=1.6.1
OpenBSD>=2.0<=3.3
Oracle Solaris SPARC=9.0
Red Hat wu-ftpd=2.6.1-18
wu-ftpd=2.5.0
Red Hat wu-ftpd=2.6.1-18
Red Hat wu-ftpd=2.6.2-5
wu-ftpd=2.6.2
wu-ftpd=2.6.0
Red Hat wu-ftpd=2.6.1-16
Red Hat wu-ftpd=2.6.2-8
Red Hat wu-ftpd=2.6.1-16
wu-ftpd=2.6.1
FreeBSD FreeBSD=4.3-releng
NetBSD NetBSD=1.5.3
FreeBSD FreeBSD=4.1.1-stable
NetBSD NetBSD=1.6
OpenBSD=2.8
FreeBSD FreeBSD=4.1.1-release
NetBSD NetBSD=1.5
FreeBSD FreeBSD=4.4-stable
FreeBSD FreeBSD=4.6-stable
FreeBSD FreeBSD=4.7
OpenBSD=2.2
OpenBSD=3.1
FreeBSD FreeBSD=4.2-stable
FreeBSD FreeBSD=4.5
FreeBSD FreeBSD=4.7-stable
OpenBSD=3.3
FreeBSD FreeBSD=4.3-stable
FreeBSD FreeBSD=4.6-release
OpenBSD=2.0
OpenBSD=2.1
OpenBSD=2.9
FreeBSD FreeBSD=4.3-release
FreeBSD FreeBSD=4.5-release
FreeBSD FreeBSD=4.5-stable
NetBSD NetBSD=1.6.1
OpenBSD=2.7
Oracle Solaris SPARC=9.0
FreeBSD FreeBSD=4.4
FreeBSD FreeBSD=4.4-releng
NetBSD NetBSD=1.5.1
OpenBSD=2.3
OpenBSD=3.2
FreeBSD FreeBSD=4.2
FreeBSD FreeBSD=4.7-release
NetBSD NetBSD=1.5.2
OpenBSD=2.4
OpenBSD=2.5
Oracle Solaris SPARC=9.0
FreeBSD FreeBSD=4.1
FreeBSD FreeBSD=4.1.1
FreeBSD FreeBSD=4.6
FreeBSD FreeBSD=4.6.2
FreeBSD FreeBSD=5.0
FreeBSD FreeBSD=5.0-alpha
OpenBSD=3.0
FreeBSD FreeBSD=4.0
FreeBSD FreeBSD=4.0-alpha
FreeBSD FreeBSD=4.3
FreeBSD FreeBSD=4.8
FreeBSD FreeBSD=4.8-pre-release
OpenBSD=2.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2003-0466?

    CVE-2003-0466 is considered to have high severity due to its potential for arbitrary code execution via buffer overflow.

  • How do I fix CVE-2003-0466?

    To fix CVE-2003-0466, upgrade to the latest version of wu-ftpd or apply the appropriate patches provided by the distribution maintainers.

  • Which versions of wu-ftpd are affected by CVE-2003-0466?

    CVE-2003-0466 affects wu-ftpd versions 2.5.0 to 2.6.2.

  • What is the nature of the vulnerability in CVE-2003-0466?

    CVE-2003-0466 is an off-by-one error in the fb_realpath() function that can lead to a buffer overflow.

  • Can CVE-2003-0466 be exploited remotely?

    Yes, CVE-2003-0466 can be exploited remotely via certain FTP commands that manipulate pathname lengths.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203