{"id":"CVE-2026-42450","summary":"OpenColorIO vulnerable to stack buffer overflow via unbounded `sscanf %s` in Spi3D (.spi3d) LUT parser","details":"OpenColorIO is a color management framework for visual effects and animation. Prior to version 2.5.2, `FileFormatSpi3D.cpp:163` uses `sscanf` with `%s` into 64-byte stack buffers when parsing LUT data lines. Input comes from `lineBuffer[4096]`, so a crafted .spi3d file can overflow by ~4000 bytes on non-Windows. Version 2.5.2 fixes the issue.","aliases":["GHSA-rxp3-rrgx-f547"],"modified":"2026-06-25T04:04:12.002852027Z","published":"2026-06-24T13:20:09.025Z","related":["openSUSE-SU-2026:10801-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42450.json","cwe_ids":["CWE-120"],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/AcademySoftwareFoundation/OpenColorIO/releases/tag/v2.5.2"},{"type":"ADVISORY","url":"https://github.com/AcademySoftwareFoundation/OpenColorIO/security/advisories/GHSA-rxp3-rrgx-f547"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42450.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42450"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/academysoftwarefoundation/opencolorio","events":[{"introduced":"0"},{"fixed":"c52966a6677723d5bd2dbef0ccec3fed9cbc3790"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.5.2"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.5.1","v2.5.0","v2.1.0","v2.0.0-rc1","v2.0.0-beta2","v2.0.0-beta1","v1.1.0","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.9","v0.7.8","v0.7.7","v0.7.6","v0.7.5","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.1","v0.6.0","v0.5.16","v0.5.15","v0.5.14","v0.5.13","v0.5.12","v0.5.11","v0.5.10","v0.5.9","v0.5.8"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-42450.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}