{"id":"CVE-2024-28219","aliases":["CVE-2024-28219","GHSA-44wm-f244-xhp3","BIT-PILLOW-2024-28219","PYSEC-2026-1793"],"related":[],"kind":"vulnerability","state":"published","title":"Pillow buffer overflow vulnerability","summary":"In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.","source":"cvelist"},{"lang":"es","text":"En _imagingcms.c en Pillow anterior a 10.3.0, existe un desbordamiento del búfer porque se usa strcpy en lugar de strncpy.","source":"nvd"}],"published":"2024-04-03T00:00:00.000Z","modified":"2026-09-10T16:01:45.767Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R","score":6.7,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R","score":6.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-120","CWE-676","CWE-680"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"39","status":"affected"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"10.3.0","status":"affected"}],"vendor":"python","product":"pillow","cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"10.0","status":"affected"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"10.3.0"}],"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"10.3.0"}],"vendor":"python","product":"pillow","cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"10.3.0"}],"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Bitnami","package":"pillow","purl":"pkg:bitnami/pillow","source":"bitnami"}],"references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security","tags":["article","release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/","tags":["broken-link","vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28219","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/python-pillow/Pillow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pillow","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-44wm-f244-xhp3","tags":["advisory","web"],"sources":["pysec","bitnami"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-04-03T18:09:55.017Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-28219","url":"https://www.cve.org/CVERecord?id=CVE-2024-28219","licence":"CVE Terms of Use","modified":"2025-11-04T18:30:27.655Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-44wm-f244-xhp3","url":"https://github.com/advisories/GHSA-44wm-f244-xhp3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.139Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-28219","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28219","licence":"Public domain","modified":"2026-06-17T07:21:12.613Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1793","url":"https://osv.dev/vulnerability/PYSEC-2026-1793","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:00.234Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PILLOW-2024-28219","url":"https://osv.dev/vulnerability/BIT-PILLOW-2024-28219","licence":"Apache-2.0","modified":"2026-09-10T16:01:45.767Z"}],"updatedAt":"2026-11-25T22:58:38.460Z","epss":{"score":0.00997,"percentile":0.63697,"date":"2026-12-01T12:00:22.000Z"}}