In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
Priority LOW 34CWE-680Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-120 and the CVSS impact.
Summary
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00997 62nd percentileScored 2026-11-07
Fix Partial pillow (PyPI): 10.3.0Red Hat: 3 advisoriesRed Hat: 5 fixed, 2 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | pillow (PyPI) | before 10.3.0 | 10.3.0 | Patch available | GHSA-44wm-f244-xhp3 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- pillow (PyPI) Vendor— Affected before 10.3.0 Fixed in 10.3.0 Patch available GHSA-44wm-f244-xhp3
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | before 10.3.0 | Vulnerable | python-pillow |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* Versions before 10.3.0 Vulnerable ·python-pillow
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
Remediation
- Fix · GHSA-44wm-f244-xhp3 pillow (PyPI) Fixed in 10.3.0 Advisory →
Red Hat 3 advisories
- RHSA-2024:5662 Released 2024-08-20 · Red Hat rating ModerateSatellite 6.15.3 Security Update
- Red Hat Satellite 6.15 for RHEL 8 python-aiohttp-3.9.4-1.el8pc, python-django-4.2.14-1.el8pc, python-jinja2-3.1.4-1.el8pc +5
- RHSA-2024:4227 Released 2024-07-02 · Red Hat rating Moderatepython-pillow security update
- Red Hat Enterprise Linux AppStream (v. 8) python-pillow-5.1.1-21.el8_10, python3-pillow-5.1.1-21.el8_10
- Red Hat Enterprise Linux CRB (v. 8) python3-pillow-5.1.1-21.el8_10, python3-pillow-devel-5.1.1-21.el8_10, python3-pillow-doc-5.1.1-21.el8_10 +1
- RHSA-2024:3781 Released 2024-06-10 · Red Hat rating ModerateRed Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower-4.5.7-1.el8ap, automation-hub-4.9.2-1.el8ap, python39-aiohttp-3.9.5-1.el8ap +25
- Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower-4.5.7-1.el9ap, automation-hub-4.9.2-1.el9ap, python-aiohttp-3.9.5-1.el9ap +25
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | Fixed | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | Fixed | RHSA-2024:3781 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:4227 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:4227 |
| Red Hat Satellite 6.15 for RHEL 8 | Fixed | RHSA-2024:5662 |
Not affected: 3 products
- Red Hat Ansible Automation Platform 2.4 for RHEL 8
- Red Hat Ansible Automation Platform 2.4 for RHEL 9
- Red Hat Satellite 6.15 for RHEL 8
Timeline
- 2026-10-02 Threatist record created from CVE-2024-28219
- 2026-10-03 Alias added: GHSA-44wm-f244-xhp3
References
Advisory 3
Other 4
- https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
- https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061
- https://github.com/python-pillow/Pillow
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M
Sources
- CVE-2024-28219 · CVE Program
- CVE-2024-28219 · NVD
- FIRST EPSS
- GHSA-44wm-f244-xhp3 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-28219 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences