# CVE-2021-40524

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.0.50 (CNA); fix release not confirmed
- Status: published
- Published: 2021-09-05 · Modified: 2025-11-04
- Aliases: UBUNTU-CVE-2021-40524, DEBIAN-CVE-2021-40524, DLA-4360-1
- Record: https://cvemate.com/vulnerability/CVE-2021-40524 · JSON: https://cvemate.com/vulnerability/CVE-2021-40524/json

## Description

```text
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.)
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 4.768%, percentile 92.148%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian pure-ftpd (Debian): \< 1.0.50-1 \| \< 1.0.49-4.1+deb11u1
- ubuntu pure-ftpd (Ubuntu): All versions (No fix recorded)
- pureftpd pure-ftpd: ≥ 1.0.23, \< 1.0.50

## References

- <https://github.com/jedisct1/pure-ftpd/pull/158>
- <https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50>
- <https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4>
- <https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html>
- <https://ubuntu.com/security/CVE-2021-40524>
- <https://www.cve.org/CVERecord?id=CVE-2021-40524>
- <https://security-tracker.debian.org/tracker/CVE-2021-40524>

---

Data as of 2026-12-05T09:43:46.891Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
