# CVE-2009-5011: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in pyftpdlib

- Severity: Medium 4.3 (CVSS:2.0, scored by NVD) `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- 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): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2010-10-19T19:00:00.000Z
- Modified: 2026-06-16T23:14:49.430Z
- Also known as: GHSA-62xg-239j-vxg7, PYSEC-2010-8
- Weaknesses: CWE-362
- Assigned by: mitre

## Description

Race condition in the FTPHandler class in ftpserver.py in pyftpdlib before 0.5.2 allows remote attackers to cause a denial of service (daemon outage) by establishing and then immediately closing a TCP connection, leading to the getpeername function having an ENOTCONN error, a different vulnerability than CVE-2010-3494.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pyftpdlib (PyPI): before 0.5.2
- g.rodola pyftpdlib: up to 0.5.1; 0.1; 0.1.1; 0.2.0; 0.3.0; 0.4.0; 0.5.0

## Every score

- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <http://code.google.com/p/pyftpdlib/source/browse/trunk/HISTORY> (web)
- <http://code.google.com/p/pyftpdlib/issues/detail?id=100> (web)
- <http://code.google.com/p/pyftpdlib/source/detail?r=543> (web)
- <http://code.google.com/p/pyftpdlib/source/diff?spec=svn543&r=543&format=side&path=/trunk/pyftpdlib/ftpserver.py> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2009-5011> (advisory)
- <https://github.com/giampaolo/pyftpdlib> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pyftpdlib/PYSEC-2010-8.yaml> (web)
- <https://github.com/advisories/GHSA-62xg-239j-vxg7> (advisory)

## Sources

- CVE List: [CVE-2009-5011](https://www.cve.org/CVERecord?id=CVE-2009-5011), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-62xg-239j-vxg7](https://github.com/advisories/GHSA-62xg-239j-vxg7), CC-BY-4.0, modified 2024-10-15
- NVD: [CVE-2009-5011](https://nvd.nist.gov/vuln/detail/CVE-2009-5011), Public domain, modified 2026-06-16
- PyPA Advisory Database: [PYSEC-2010-8](https://osv.dev/vulnerability/PYSEC-2010-8), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2009-5011 · Whole record: https://cve.day/CVE-2009-5011.json · Rebuilt by cve.day 2026-11-25T22:57:07.307Z
