CVE-2024-28219Python Pillow
Medium 5.9 No auth needed
Follow: this CVE · Python · Python Pillow We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 59
- Auth required
- No
- Published
- Apr 3, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-680
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
What to do
- Apply the vendor's security update for Pillow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pillow |
< 10.3.0 |
10.3.0 |
pip install "pillow>=10.3.0" |
| PyPI | pillow |
< 10.3.0 |
10.3.0 |
pip install "pillow>=10.3.0" |
Per OSV / GitHub Advisories (GHSA-44wm-f244-xhp3, PYSEC-2026-1793). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | pillow | < 10.3.0 |
| debian | debian_linux | 10.0 |
Official advisories
- python313-Pillow-12.3.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11261-1 · Jul 12, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Broken Link
- pillow.readthedocs.io Release Notes
- lists.fedoraproject.org