{"id":"CVE-2026-117557","state":"PUBLISHED","title":"SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader","description":"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.","publishedAt":"2026-10-27T13:07:52.419Z","updatedAt":"2026-10-27T13:07:52.419Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["libsdl-org SDL_image"],"affected":[{"vendor":"libsdl-org","product":"SDL_image","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.8.12","versionType":"semver"},{"version":"3.0.0","status":"affected","lessThanOrEqual":"3.4.8","versionType":"semver"}]}],"references":["https://github.com/libsdl-org/SDL_image/issues/769","https://github.com/libsdl-org/SDL_image","https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292","https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996","https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240","https://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/117xxx/CVE-2026-117557.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-117557","state":"PUBLISHED","datePublished":"2026-10-27T13:07:52.419Z","dateUpdated":"2026-10-27T13:07:52.419Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-27T11:25:21.355Z"},"containers":{"cna":{"title":"SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"libsdl-org","product":"SDL_image","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.8.12","versionType":"semver"},{"version":"3.0.0","status":"affected","lessThanOrEqual":"3.4.8","versionType":"semver"}]}],"references":[{"url":"https://github.com/libsdl-org/SDL_image/issues/769","tags":["issue-tracking"],"name":"GitHub Issue #769"},{"url":"https://github.com/libsdl-org/SDL_image","tags":["product"]},{"url":"https://github.com/libsdl-org/SDL_image/commit/5cfbe85f3a783417eec4d5aa0660b40c2cff5292","tags":["patch"]},{"url":"https://github.com/libsdl-org/SDL_image/commit/9c0622c36cf01e9ecba4bfdd6c4aa2b21c8cf996","tags":["patch"]},{"url":"https://github.com/libsdl-org/SDL_image/blob/release-3.4.8/src/IMG_lbm.c#L240","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/sdl-image-through-3.4.8-and-2.8.12-stack-out-of-bounds-read-in-ilbm-loader","name":"VulnCheck Advisory: SDL_image through 3.4.8 and 2.8.12 Stack Out-of-Bounds Read in ILBM Loader","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-27T13:07:52.419Z"},"datePublic":"2026-10-22T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libsdl:sdl_image:*:*:*:*:*:*:*:*","versionEndIncluding":"2.8.12"},{"vulnerable":true,"criteria":"cpe:2.3:a:libsdl:sdl_image:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.0","versionEndIncluding":"3.4.8"}]}]}],"credits":[{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}