{"schema_version":"1.9.0","id":"CVE-2024-28219","published":"2024-04-03T00:00:00Z","modified":"2026-08-12T03:51:48.792883569Z","aliases":["BIT-pillow-2024-28219","GHSA-44wm-f244-xhp3","PYSEC-2026-1793"],"related":["ALSA-2024:4227","CGA-93xh-fprr-ggwg","SUSE-SU-2024:1154-1","SUSE-SU-2024:1258-1","SUSE-SU-2024:1267-1","SUSE-SU-2024:1268-1","openSUSE-SU-2024:13827-1","openSUSE-SU-2026:11261-1"],"details":"In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"0"},{"fixed":"5c89d88eee199ba53f64581ea39b6a1bc52feb1a"}],"database_specific":{"cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"10.3.0"}],"source":"CPE_RANGE"}}],"versions":["10.2.0","10.1.0","10.0.0","9.5.0","9.4.0","9.3.0","9.2.0","9.1.0","9.0.0","8.4.0","8.3.0","8.2.0","8.1.0","8.0.0","7.2.0","7.1.0","7.0.0","6.2.0","6.1.0","6.0.0","5.4.0","5.3.0","5.2.0","5.1.0","5.0.0","4.3.0","4.2.0","4.1.0","4.0.0","4.0.0a","3.4.0","3.3.0","3.2.0","3.1.0","3.1.0-rc1","2.9.0","2.9.0.dev2","2.9.0.dev1","2.9.0.dev0","2.8.1","2.8.0","2.7.0","2.5.0","2.3.0","2.2.1","2.2.0","2.1.0","2.0.0","1.7.8","1.7.7","1.2","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28219.json"}}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28219.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28219"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28219.json","unresolved_ranges":[{"extracted_events":[{"fixed":"10.3.0"}],"source":"DESCRIPTION"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R"}]}