Home / Texas Imperial Software / Wftpd / CVE-2004-0340
CVE-2004-0340: is it exploited, and which versions of Texas Imperial Software Wftpd are affected and fixed?
CVE-2004-0340 is a vulnerability in Texas Imperial Software Wftpd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: wftpd 3.0, wftpd 3.0_0r3, wftpd 3.0_0r4 and 7 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.2, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2004-0340?
Stack-based buffer overflow in WFTPD Pro Server 3.21 Release 1, Pro Server 3.20 Release 2, Server 3.21 Release 1, and Server 3.10 allows local users to execute arbitrary code via long (1) LIST, (2) NLST, or (3) STAT commands.
From the CVE record by mitre, last updated August 8, 2024, 00:17 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| texas imperial software | wftpd | 3.0 | application |
| texas imperial software | wftpd | 3.0_0r3 | application |
| texas imperial software | wftpd | 3.0_0r4 | application |
| texas imperial software | wftpd | 3.0_0r5 | application |
| texas imperial software | wftpd | 3.10_r1 | application |
| texas imperial software | wftpd | 3.20 | application |
| texas imperial software | wftpd | 3.21 | application |
| texas imperial software | wftpd | pro_3.10_r1 | application |
| texas imperial software | wftpd | pro_3.20 | application |
| texas imperial software | wftpd | pro_3.21 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:05 UTC.
How severe is CVE-2004-0340?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-0340 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.29% probability of exploitation activity in the next 30 days, percentile 71.2 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- wftpd-ftp-commands-bo(15340) vdb-entry, x_refsource_XF
- 11001 third-party-advisory, x_refsource_SECUNIA
- 20040228 Critical WFTPD buffer overflow vulnerability mailing-list, x_refsource_BUGTRAQ
- 9767 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- March 17, 2004
- Published
- March 18, 2004, 05:00 UTC
- CVE record updated
- August 8, 2024, 00:17 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:05 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Wftpd?
- Jan 18, 2007CVE-2007-0311 Texas Imperial Software Wftpd: n/a
- Nov 10, 2006CVE-2006-5826 Texas Imperial Software Wftpd: n/a
- Aug 24, 2006CVE-2006-4318 Texas Imperial Software Wftpd: n/a
- Feb 20, 2005CVE-2004-1642 Texas Imperial Software Wftpd: n/a
- Mar 18, 2004CVE-2004-0341 Texas Imperial Software Wftpd: n/a
- Mar 9, 2002CVE-2000-1101 Texas Imperial Software Wftpd: n/a
- Aug 29, 2001CVE-2001-0695 Texas Imperial Software Wftpd: n/a
- Aug 29, 2001CVE-2001-0694 Texas Imperial Software Wftpd: n/a
Questions about CVE-2004-0340
Is CVE-2004-0340 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 1.29% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Texas Imperial Software Wftpd are affected by CVE-2004-0340?
wftpd 3.0, wftpd 3.0_0r3, wftpd 3.0_0r4, wftpd 3.0_0r5, wftpd 3.10_r1, wftpd 3.20 and 4 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-0340?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-0340?
High (7.2, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-0340?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.