Little CMS (lcms2) through 2.18 has an integer overflow in CubeSize in cmslut.c because the overflow check is performed after the multiplication.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-696"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41254.json"
}{
"cpe": "cpe:2.3:a:littlecms:little_cms:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.18"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-06-20T10:59:33Z"
[
{
"target": {
"file": "src/cmslut.c",
"function": "CubeSize"
},
"id": "CVE-2026-41254-0826429d",
"deprecated": false,
"digest": {
"function_hash": "151103996905205333487280703804498013001",
"length": 313.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mm2/little-cms/commit/da6110b1d14abc394633a388209abd5ebedd7ab0"
},
{
"target": {
"file": "src/cmslut.c",
"function": "CubeSize"
},
"id": "CVE-2026-41254-0fc03b9f",
"deprecated": false,
"digest": {
"function_hash": "328600515102910444951326586914541193561",
"length": 329.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/mm2/little-cms/commit/e0641b1828d0a1af5ecb1b11fe22f24fceefd4bc"
},
{
"target": {
"file": "src/cmslut.c"
},
"id": "CVE-2026-41254-3093fb80",
"deprecated": false,
"digest": {
"line_hashes": [
"2166842311799854057066400903572642192",
"73880722182175798664018837267178850914",
"92784381424835445787713103799084981739",
"245945994391277991013205265820686163302",
"113779849581051347427211404560983366267",
"52582969683582016743840494390956449804"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mm2/little-cms/commit/e0641b1828d0a1af5ecb1b11fe22f24fceefd4bc"
},
{
"target": {
"file": "src/cmslut.c"
},
"id": "CVE-2026-41254-9c3577e2",
"deprecated": false,
"digest": {
"line_hashes": [
"34304708872578304858411580890683999585",
"140958089450064865783575510356199293505",
"231579098774124449854180750500904138080",
"52862325865801370546975363745875812216"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/mm2/little-cms/commit/da6110b1d14abc394633a388209abd5ebedd7ab0"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-41254.json"