Vulnerabilities · 2024 · Python
CVE-2024-28219
Python Pillow vulnerability
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
Affected products
Pillow, Debian Linux. 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.debian.org/debian-lts-announce/2024/04/msg00008.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4
- pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
- lists.fedoraproject.org/archives/list/[email protected]/message/4XL
- nvd.nist.gov/vuln/detail/CVE-2024-28219
- github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4
- github.com/advisories/GHSA-44wm-f244-xhp3
- nvd.nist.gov/vuln/detail/CVE-2024-28219
- cve.org/CVERecord?id=CVE-2024-28219
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.