# CVE-2021-40524: In Pure-FTPd before 1.0.50, an incorrect maxfilesize quota mechanism in the server allows attackers to upload files of unbounded size, whic…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.77%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-05T18:26:26.000Z
- Modified: 2026-06-17T04:07:05.163Z
- Weaknesses: CWE-434
- Assigned by: mitre

## 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.)

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pureftpd pure-ftpd: from 1.0.23 before 1.0.50

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/jedisct1/pure-ftpd/pull/158> (exploit, third-party-advisory)
- <https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50> (patch, third-party-advisory)
- <https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html>

## Sources

- CVE List: [CVE-2021-40524](https://www.cve.org/CVERecord?id=CVE-2021-40524), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2021-40524](https://nvd.nist.gov/vuln/detail/CVE-2021-40524), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40524 · Whole record: https://cve.day/CVE-2021-40524.json · Rebuilt by cve.day 2026-11-25T22:58:03.650Z
