Little CMS (aka Little Color Management System) 2.9 has an integer overflow in the AllocateDataSet function in cmscgats.c, leading to a heap-based buffer overflow in the SetData function via a crafted file in the second argument to cmsIT8LoadFromFile.
https://www.debian.org/security/2018/dsa-4284
https://usn.ubuntu.com/3770-2/
https://usn.ubuntu.com/3770-1/
https://security.gentoo.org/glsa/202105-18
https://lists.debian.org/debian-lts-announce/2018/09/msg00005.html
https://github.com/mm2/Little-CMS/issues/171
https://github.com/mm2/Little-CMS/commit/768f70ca405cd3159d990e962d54456773bb8cf8