CVE-2024-28219
6.7medium
Pillow buffer overflow vulnerability
- Severity
- 6.7medium CVSS:3.1 by mitre
- Exploit likelihood
- 1.00% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-44wm-f244-xhp3BIT-PILLOW-2024-28219PYSEC-2026-1793
Description
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| fedoraproject fedora | 39 | CVE List |
| python pillow | before 10.3.0 | CVE List, NVD |
| debian debian_linux | 10.0 | CVE List, NVD |
| pillow (PyPI) | before 10.3.0 | GitHub Advisory Database, PyPA Advisory Database |
| pillow (Bitnami) | all versions | Bitnami Vulnerability Database |
All scores
| mitre | 6.7medium CVSS:3.1 | CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R |
| GitHub | 6.7high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 6.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
NVD (es)
En _imagingcms.c en Pillow anterior a 10.3.0, existe un desbordamiento del búfer porque se usa strcpy en lugar de strncpy.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-28219 changed 2025-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-44wm-f244-xhp3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-28219 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1793 changed 2026-07-07 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-PILLOW-2024-28219 changed 2026-09-10 | Apache-2.0 |