CVE-2021-40524
7.5 HIGHIn Pure-FTPd before 1.0.50, an incorrect max_filesize quota mechanism in the server allows attackers to upload files of unbounded size, w...
Published: 2021-09-05 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 7.5 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CWE
- CWE-434
Affected products
| Vendor | Product |
|---|---|
| pureftpd | pure-ftpd |
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.)
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-40524
- [Patch]https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4
- [Patch]https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50
- [Exploit reference]https://github.com/jedisct1/pure-ftpd/pull/158
- [Patch]https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4
- [Patch]https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50
- [Exploit reference]https://github.com/jedisct1/pure-ftpd/pull/158
- [Other]https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html
Related CVEs
Same CWE
- CVE-2026-40750 — Unrestricted Upload of File with Dangerous Type vulnerability in themagnifico52 Kids Online Store allows Upload a Web Shell to a Web Server (9.9 CRITICAL)
- CVE-2026-6933 — The Premmerce Dev Tools plugin for WordPress is vulnerable to Remote Code Execution via missing authorization in versions up to and inclu... (8.8 HIGH)
- CVE-2026-40772 — Unauthenticated Arbitrary File Upload in GeekyBot <= 1.2.2 versions (10.0 CRITICAL)
- CVE-2026-39591 — Subscriber Arbitrary File Upload in WP-BusinessDirectory <= 4.0.0 versions (9.9 CRITICAL)
- CVE-2026-39527 — Subscriber Arbitrary File Upload in WpStream < 4.11.2 versions (5.4 MEDIUM)