In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.
References:- https://nvd.nist.gov/vuln/detail/CVE-2024-28219
- https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html#security
- https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061
- https://lists.debian.org/debian-lts-announce/2024/04/msg00008.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4XLPUT3VK4GQ6EVY525TT2QNUIXNRU5M
- https://github.com/advisories/GHSA-44wm-f244-xhp3