Off-by-one error in the fb_realpath() function, as derived from the realpath function in…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-193 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:wu_ftpd:2.6.1-16:*:*:*:*:*:*:* | 2.6.1-16 | Vulnerable | Red Hat |
| cpe:2.3:a:wuftpd:wu-ftpd:*:*:*:*:*:*:*:* | 2.5.0 – 2.6.2 | Vulnerable | Wuftpd |
| cpe:2.3:o:apple:mac_os_x:10.2.6:*:*:*:*:*:*:* | 10.2.6 | Vulnerable | Apple |
| cpe:2.3:o:apple:mac_os_x_server:10.2.6:*:*:*:*:*:*:* | 10.2.6 | Vulnerable | Apple |
| cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* | 4.0 – 5.0 | Vulnerable | FreeBSD |
| cpe:2.3:o:netbsd:netbsd:*:*:*:*:*:*:*:* | 1.5 – 1.6.1 | Vulnerable | NetBSD |
| cpe:2.3:o:openbsd:openbsd:*:*:*:*:*:*:*:* | 2.0 – 3.3 | Vulnerable | OpenBSD |
| cpe:2.3:o:sun:solaris:9.0:*:*:*:*:sparc:*:* | 9.0 | Vulnerable | Sun |
- cpe:2.3:a:redhat:wu_ftpd:2.6.1-16:*:*:*:*:*:*:* Versions 2.6.1-16 Vulnerable ·Red Hat
- cpe:2.3:a:wuftpd:wu-ftpd:*:*:*:*:*:*:*:* Versions 2.5.0 – 2.6.2 Vulnerable ·Wuftpd
- cpe:2.3:o:apple:mac_os_x:10.2.6:*:*:*:*:*:*:* Versions 10.2.6 Vulnerable ·Apple
- cpe:2.3:o:apple:mac_os_x_server:10.2.6:*:*:*:*:*:*:* Versions 10.2.6 Vulnerable ·Apple
- cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* Versions 4.0 – 5.0 Vulnerable ·FreeBSD
- cpe:2.3:o:netbsd:netbsd:*:*:*:*:*:*:*:* Versions 1.5 – 1.6.1 Vulnerable ·NetBSD
- cpe:2.3:o:openbsd:openbsd:*:*:*:*:*:*:*:* Versions 2.0 – 3.3 Vulnerable ·OpenBSD
- cpe:2.3:o:sun:solaris:9.0:*:*:*:*:sparc:*:* Versions 9.0 Vulnerable ·Sun
Remediation
Red Hat 2 advisories
- RHSA-2003:245 Released 2003-07-31 · Red Hat rating Important: Updated wu-ftpd packages fix remote vulnerability.
- Red Hat Linux 7.1
- Red Hat Linux 7.2
- Red Hat Linux 7.3
- Red Hat Linux 8.0
- RHSA-2003:246 Released 2003-07-31 · Red Hat rating Importantwu-ftpd security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Linux Advanced Workstation 2.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2003:246 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2003:246 |
| Red Hat Linux 7.1 | Fixed | RHSA-2003:245 |
| Red Hat Linux 7.2 | Fixed | RHSA-2003:245 |
| Red Hat Linux 7.3 | Fixed | RHSA-2003:245 |
| Red Hat Linux 8.0 | Fixed | RHSA-2003:245 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2003:246 |
Timeline
- 2026-10-02 Threatist record created from CVE-2003-0466
- 2026-10-03 Alias added: GHSA-7c4w-gm97-vgqq
References
Advisory 10
Sources
- CVE-2003-0466 · CVE Program
- CVE-2003-0466 · NVD
- FIRST EPSS
- GHSA-7c4w-gm97-vgqq · GitHub Advisory Database · CC BY 4.0
- CVE-2003-0466 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences