Vulnerability record · CVE-2021-40524 · published 5 September 2021
CVE-2021-40524: Pureftpd pure-ftpd unrestricted file upload vulnerability
Pureftpd · Pure Ftpd
In Pure-FTPd before 1.0.50, an incorrect max_filesize quota mechanism in the server allows attackers to upload files of unbounded size, which may lead to denial of service or a server hang. This occurs because a certain greater-than-zero test does not anticipate an initial -1 value. (Versions 1.0.23 through 1.0.49 are affected.)
Description
In Pure-FTPd before 1.0.50, an incorrect max_filesize quota mechanism in the server allows attackers to upload files of unbounded size, which may lead to denial of service or a server hang. This occurs because a certain greater-than-zero test does not anticipate an initial -1 value. (Versions 1.0.23 through 1.0.49 are affected.)
CVSS:3.1/AV:N/AC:L/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 |
|---|---|
| https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4 | PatchThird Party Advisory |
| https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50 | PatchThird Party Advisory |
| https://github.com/jedisct1/pure-ftpd/pull/158 | ExploitThird Party Advisory |
| https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4 | PatchThird Party Advisory |
| https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50 | PatchThird Party Advisory |
| https://github.com/jedisct1/pure-ftpd/pull/158 | ExploitThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html |
Track CVE-2021-40524 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-2021-40524), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.