cve.bz

CVE-2003-0466 Off-by-one Error

9.8 criticalExploitEPSS 78%Fix available

Critical (9.8). EPSS 78% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
78% (unchanged from 78% a week ago; 78% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2003-0466 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2003-0466?via=ask-ai-copy and https://cve.bz/cve/CVE-2003-0466?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2003-0466 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:wu_ftpd2.6.1-16
wuftpd:wu-ftpdfrom 2.5.0 through 2.6.2
apple:mac_os_x10.2.6
apple:mac_os_x_server10.2.6
freebsd:freebsdfrom 4.0 through 5.0
netbsd:netbsdfrom 1.5 through 1.6.1
openbsd:openbsdfrom 2.0 through 3.3
sun:solaris9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0wu-ftpd2.6.2-3woody1DSA-357

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux AS (Advanced Server) version 2.1Fixed 2003-07-31RHSA-2003:246
Red Hat Enterprise Linux ES version 2.1Fixed 2003-07-31RHSA-2003:246
Red Hat Linux 7.1Fixed 2003-07-31RHSA-2003:245
Red Hat Linux 7.2Fixed 2003-07-31RHSA-2003:245
Red Hat Linux 7.3Fixed 2003-07-31RHSA-2003:245
Red Hat Linux 8.0Fixed 2003-07-31RHSA-2003:245
Red Hat Linux Advanced Workstation 2.1Fixed 2003-07-31RHSA-2003:246

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2003-0466.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

References

Check your stackJSON