← Vulnerability feed

Vulnerability record · CVE-2003-0831 · published 17 November 2003

CVE-2003-0831: ProFTPD ASCII mode newline handling buffer overflow allows remote code execution

PProftpd Project · Proftpd

ProFTPD 1.2.7 through 1.2.9rc2 fails to properly translate newline characters when transferring files in ASCII mode, resulting in a buffer overflow. A remote attacker can exploit this to execute arbitrary code on the FTP server. The flaw affects a core file-transfer path, so any deployment running an affected version with ASCII transfers enabled is exposed.

9.0 CVSS 2.0 High EPSS 58% · top 0.9% CWE-119 · Memory buffer overflow
9.0CVSS 2.0 base score
58%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
18References
16 Jun 2026Last modified by NVD

Description

ProFTPD 1.2.7 through 1.2.9rc2 does not properly translate newline characters when transferring files in ASCII mode, which allows remote attackers to execute arbitrary code via a buffer overflow using certain files.

AV:N/AC:L/Au:S/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityRemote code execution with a public exploit and very high EPSS score, though authentication is required and the affected versions are long obsolete.

What it is

ProFTPD 1.2.7 through 1.2.9rc2 fails to properly translate newline characters when transferring files in ASCII mode, resulting in a buffer overflow. A remote attacker can exploit this to execute arbitrary code on the FTP server. The flaw affects a core file-transfer path, so any deployment running an affected version with ASCII transfers enabled is exposed.

Impact

Successful exploitation gives the attacker arbitrary code execution with the privileges of the ProFTPD process, typically full control of the FTP service and its host account. This can lead to data theft, file modification, or use of the server as a foothold for further attacks.

Attack surface

Reached over the network via the FTP service during an ASCII-mode file transfer; the CVSS vector (AV:N/AC:L/Au:S) indicates low complexity but that some authentication is required, so a valid or guest FTP account is likely needed. No user interaction beyond initiating the transfer is implied.

Exploitation

Not listed in CISA KEV, but EPSS is high (0.58355, 99th percentile) and a public Exploit-DB entry (107) exists, indicating exploit code is available and exploitation is plausible.

What to do

  • Upgrade ProFTPD to a version later than 1.2.9rc2 that contains the fix, or apply the vendor patch for the affected branch.
  • If immediate upgrade is not possible, disable ASCII mode transfers or restrict them to trusted users.
  • Restrict FTP access to trusted networks and enforce strong authentication; avoid anonymous or guest accounts.
  • Monitor vendor and distribution advisories (e.g., Mandriva MDKSA-2003:095) for backported fixes on older platforms.
  • Run the ProFTPD service with least privilege and isolate it from sensitive data.

Detection

  • Inspect FTP server logs for ASCII-mode transfers (TYPE A) followed by crashes, restarts, or abnormal process termination.
  • Monitor for unusually long or malformed file-transfer commands and newline-heavy payloads in FTP session logs.
  • Watch for unexpected child processes or outbound connections spawned by the ProFTPD process.
  • Use host-based detection for buffer overflow indicators such as segmentation faults in ProFTPD and core dumps.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2003-0831 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2006-5815ProFTPD sreplace stack buffer overflow allows remote code executionProFTPD 1.3.0 and earlier contains a stack-based buffer overflow in the sreplace function. A remote attacker, probably authenticated, can trigger the…EPSS 74%analysed10.0CVE-2003-0500Proftpd project proftpd vulnerabilitySQL injection vulnerability in the PostgreSQL authentication module (mod_sql_postgres) for ProFTPD before 1.2.9rc1 allows remote attackers to execute…EPSS 18%10.0CVE-1999-0911Proftpd project proftpd vulnerabilityBuffer overflow in ProFTPD, wu-ftpd, and beroftpd allows remote attackers to gain root access via a series of MKD and CWD commands that create nested…EPSS 38%10.0CVE-1999-0368Proftpd project proftpd vulnerabilityBuffer overflows in wuarchive ftpd (wu-ftpd) and ProFTPD lead to remote root access, a.k.a. palmetto.EPSS 40%7.5CVE-2009-0542ProFTPD mod_sql SQL injection via percent character in usernameProFTPD Server 1.3.1 through 1.3.2rc2 contains a SQL injection flaw in mod_sql: a "%" character in the username introduces a single quote during vari…EPSS 74%analysed7.5CVE-2006-6170Proftpd project proftpd vulnerabilityBuffer overflow in the tls_x509_name_oneline function in the mod_tls module, as used in ProFTPD 1.3.0a and earlier, and possibly other products, allo…EPSS 17%7.5CVE-2006-6171Proftpd project proftpd vulnerabilityProFTPD 1.3.0a and earlier does not properly set the buffer size limit when CommandBufferSize is specified in the configuration file, which leads to …EPSS 9.7%7.5CVE-2005-4816Proftpd project proftpd vulnerabilityBuffer overflow in mod_radius in ProFTPD before 1.3.0rc2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary …EPSS 13%

Source: NIST National Vulnerability Database (record CVE-2003-0831), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.