{"id":"CVE-2024-28219","published":"2024-04-03T00:00:00Z","modified":"2025-11-04T18:30:27Z","title":"In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy","vendor":null,"product":null,"tier":"tail","description":{"text":"In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AC:H/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00997,"percentile":0.63557,"provenance":"source"},"cwes":[{"id":"CWE-680","name":"Integer Overflow to Buffer Overflow"}],"references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M/","tags":[]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":12.71},{"name":"CVSS severity","points":4.69}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-04-03T18:09:55.017027Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":["<10.3.0"],"patched":["10.3.0"],"from":["GHSA-44wm-f244-xhp3","PYSEC-2026-1793"],"provenance":"source"}],"summary":{"text":"The flaw is a buffer overflow in _imagingcms.c, a component of the Pillow imaging library before version 10.3.0, caused by the use of strcpy where strncpy should have been used. An attacker with local access who can get a user to interact with a crafted input (such as an image processed through the affected code path) could trigger memory corruption, subject to the high-complexity conditions of the attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:06Z"},"euvd":{"id":"EUVD-2024-1085","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-45198","published":"2022-11-14","fixed":"9.2.0","kev":false},{"cve":"CVE-2022-45199","published":"2022-11-14","fixed":"9.3.0","kev":false},{"cve":"CVE-2023-44271","published":"2023-11-03","fixed":"10.0.0","kev":false,"link":{"from":"CVE-2023-44271","to":"CVE-2024-28219","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pillow","fromFixed":"10.0.0","toFixed":"10.3.0","daysApart":152}]}},{"cve":"CVE-2024-28219","published":"2024-04-03","fixed":"10.3.0","kev":false},{"cve":"CVE-2025-48379","published":"2025-07-01","fixed":"11.3.0","kev":false},{"cve":"CVE-2026-25990","published":"2026-02-11","fixed":"12.1.1","kev":false},{"cve":"CVE-2026-40192","published":"2026-04-15","fixed":"12.2.0","kev":false}],"package":"PyPI:pillow"}}