SDL_image through 3.4.8 and through 2.8.12 contains a stack out-of-bounds read vulnerability in IMG_LoadLBM_IO() in src/IMG_lbm.c that skips bitplane count validation when HAM mode is set. Attackers can supply a crafted ILBM file with more than 8 HAM bitplanes to read past the colormap stack array, causing crashes or disclosing stack memory.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117557.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.0.0"
},
{
"last_affected": "3.4.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "5cfbe85f3a783417eec4d5aa0660b40c2cff5292"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-117557.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"221325075238811645849850218614653359925",
"295361084023939563575399977817665133635",
"25655957711600170602952390494230673395",
"188204725224181800712090777317586782131"
],
"threshold": 0.9
},
"id": "CVE-2026-117557-58338bf1",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libsdl-org/sdl_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292",
"target": {
"file": "src/IMG_lbm.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "74400280707604759139102640632097563325",
"length": 6544
},
"id": "CVE-2026-117557-87d43d66",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libsdl-org/sdl_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996",
"target": {
"file": "src/IMG_lbm.c",
"function": "IMG_LoadLBM_IO"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "74400280707604759139102640632097563325",
"length": 6544
},
"id": "CVE-2026-117557-93b9d5fc",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libsdl-org/sdl_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292",
"target": {
"file": "src/IMG_lbm.c",
"function": "IMG_LoadLBM_IO"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"221325075238811645849850218614653359925",
"295361084023939563575399977817665133635",
"25655957711600170602952390494230673395",
"188204725224181800712090777317586782131"
],
"threshold": 0.9
},
"id": "CVE-2026-117557-caf5a5e6",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libsdl-org/sdl_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996",
"target": {
"file": "src/IMG_lbm.c"
}
}
]
"2026-11-06T01:07:27Z"