Vulnerabilities · 2020 · Python
CVE-2020-5313
Python Pillow vulnerability
libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
Affected products
Pillow, Ubuntu Linux, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Pillow runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python-pillow/Pillow/commit/a09acd0decd8a87ccce939d5ff65dab59e7d365b · Patch
- pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html · Third Party Advisory
- usn.ubuntu.com/4272-1/ · Third Party Advisory
- www.debian.org/security/2020/dsa-4631 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3
- nvd.nist.gov/vuln/detail/CVE-2020-5313
- github.com/python-pillow/Pillow/blob/master/CHANGES.rst#622-2020-01-02
- nvd.nist.gov/vuln/detail/CVE-2020-5313
- cve.org/CVERecord?id=CVE-2020-5313
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.