# CVE-2024-28219: Pillow buffer overflow vulnerability

- Severity: Medium 6.7 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-01)
- Published: 2024-04-03T00:00:00.000Z
- Modified: 2026-09-10T16:01:45.767Z
- Also known as: GHSA-44wm-f244-xhp3, BIT-PILLOW-2024-28219, PYSEC-2026-1793
- Weaknesses: CWE-120, CWE-676, CWE-680
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- fedoraproject fedora: 39
- python pillow: before 10.3.0
- debian debian_linux: 10.0
- pillow (PyPI): before 10.3.0
- pillow (Bitnami): all versions

## Every score

- mitre: CVSS:3.1 6.7 Medium `CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R`
- GitHub: CVSS:3.1 6.7 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: 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: rating Medium

## References

- <https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security> (article, release-notes, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/> (broken-link, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28219> (advisory, web)
- <https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061> (web)
- <https://github.com/python-pillow/Pillow> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M> (web)
- <https://pypi.org/project/pillow> (package)
- <https://github.com/advisories/GHSA-44wm-f244-xhp3> (advisory, web)

## Sources

- CVE List: [CVE-2024-28219](https://www.cve.org/CVERecord?id=CVE-2024-28219), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-44wm-f244-xhp3](https://github.com/advisories/GHSA-44wm-f244-xhp3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28219](https://nvd.nist.gov/vuln/detail/CVE-2024-28219), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1793](https://osv.dev/vulnerability/PYSEC-2026-1793), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-PILLOW-2024-28219](https://osv.dev/vulnerability/BIT-PILLOW-2024-28219), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2024-28219 · Whole record: https://cve.day/CVE-2024-28219.json · Rebuilt by cve.day 2026-11-25T22:58:38.460Z
