CVE-2024-28219
MEDIUM 5.9CVSS 3.1Pillow buffer overflow vulnerability
In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
- Published
- 3 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-120CWE-676CWE-680
- Also known as
- BIT-pillow-2024-28219GHSA-44wm-f244-xhp3PYSEC-2026-1793
- Sources
- NVDJSONOSV GHSA-44wm-f244-xhp3JSONOSV PYSEC-2026-1793JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pillowcpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* |
< 10.3.0 | 10.3.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | PyPI | pillow | < 10.3.0 | 10.3.0 |
References
- https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/ · Broken Link, WEB
- https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security · Release Notes, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/
- https://nvd.nist.gov/vuln/detail/CVE-2024-28219 · ADVISORY
- https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061 · WEB
- https://github.com/python-pillow/Pillow · PACKAGE
- https://pypi.org/project/pillow · PACKAGE
- https://github.com/advisories/GHSA-44wm-f244-xhp3 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 3 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2024)