CVE-2004-0376
Description
A remote unauthenticated attacker can crash oftpd FTP server versions 0.3.6 and earlier by sending a PORT command with a value above 255.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A remote unauthenticated attacker can crash oftpd FTP server versions 0.3.6 and earlier by sending a PORT command with a value above 255.
Vulnerability
oftpd versions 0.3.6 and earlier contain a denial-of-service vulnerability in the handling of the FTP PORT command. When the server receives a PORT command with a numeric value greater than 255, it crashes. The PORT command can be issued before any authentication, meaning no valid username or password is required to trigger the bug. [1][2]
Exploitation
An attacker can exploit this vulnerability by establishing a TCP connection to the FTP server on port 21 and sending the string PORT 300 (or any integer above 255) followed by a carriage return. No further interaction or authentication is needed; the server crashes immediately upon processing the malformed command. [2]
Impact
Successful exploitation results in a denial of service: the oftpd daemon crashes and must be restarted manually. The crash does not lead to data compromise or privilege escalation, but it renders the FTP service unavailable until the administrator restarts the daemon. [1][2]
Mitigation
The vulnerability is fixed in oftpd version 0.3.7. Users should upgrade to >=net-ftp/oftpd-0.3.7 (Gentoo) or the version provided in Debian Security Advisory DSA-473. No workaround is currently known. [1]
AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- www.debian.org/security/2004/dsa-473nvdPatchVendor Advisory
- www.securityfocus.com/bid/9980nvdPatchVendor Advisory
- secunia.com/advisories/11220nvd
- security.gentoo.org/glsa/glsa-200403-08.xmlnvd
- www.time-travellers.org/oftpd/oftpd-dos.htmlnvd
- exchange.xforce.ibmcloud.com/vulnerabilities/15622nvd
News mentions
0No linked articles in our index yet.