Description
Little CMS (lcms2) through 2.18 has an integer overflow in CubeSize in cmslut.c because the overflow check is performed after the multiplication.
Problem types
CWE-696 Incorrect Behavior Order
Product status
Any version
References
lists.debian.org/debian-lts-announce/2026/05/msg00014.html
github.com/...ommit/da6110b1d14abc394633a388209abd5ebedd7ab0
github.com/...ommit/e0641b1828d0a1af5ecb1b11fe22f24fceefd4bc
www.openwall.com/lists/oss-security/2026/04/17/16
github.com/...le-CMS/security/advisories/GHSA-4xp6-rcgg-m9qq
abhinavagarwal07.github.io/posts/lcms2-cubesize-overflow/