Vulnerability record · CVE-2017-15271 · published 15 November 2017
CVE-2017-15271: Psftpd use after free vulnerability
PPsftp · Psftpd
A use-after-free issue could be triggered remotely in the SFTP component of PSFTPd 10.0.4 Build 729. This issue could be triggered prior to authentication. The PSFTPd server did not automatically restart, which enabled attackers to perform a very effective DoS attack against this service. By sending a crafted SSH identification / version string to the server, a NULL pointer dereference could be caused, apparently because of a race condition in the window message handling, performing the cleanup for invalid connections. This incorrect cleanup code has a use-after-free.
Description
A use-after-free issue could be triggered remotely in the SFTP component of PSFTPd 10.0.4 Build 729. This issue could be triggered prior to authentication. The PSFTPd server did not automatically restart, which enabled attackers to perform a very effective DoS attack against this service. By sending a crafted SSH identification / version string to the server, a NULL pointer dereference could be caused, apparently because of a race condition in the window message handling, performing the cleanup for invalid connections. This incorrect cleanup code has a use-after-free.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/144972/PSFTPd-Windows-FTP-Server-10.0.4-Build-729-Use-After-Free-Log-Injection.html | Third Party AdvisoryVDB Entry |
| http://www.securityfocus.com/archive/1/541518/100/0/threaded | |
| https://www.exploit-db.com/exploits/43144/ | Third Party AdvisoryVDB Entry |
| https://www.x41-dsec.de/lab/advisories/x41-2017-006-psftpd/ | Third Party Advisory |
| http://packetstormsecurity.com/files/144972/PSFTPd-Windows-FTP-Server-10.0.4-Build-729-Use-After-Free-Log-Injection.html | Third Party AdvisoryVDB Entry |
| http://www.securityfocus.com/archive/1/541518/100/0/threaded | |
| https://www.exploit-db.com/exploits/43144/ | Third Party AdvisoryVDB Entry |
| https://www.x41-dsec.de/lab/advisories/x41-2017-006-psftpd/ | Third Party Advisory |
Track CVE-2017-15271 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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-15271), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.