CVE-2026-42450 OpenColorIO vulnerable to stack buffer overflow via unbounded `sscanf %s` in Spi3D (.spi3d) LUT parser
A stack buffer overflow in OpenColorIO allows attackers to execute arbitrary code or cause denial of service via a crafted .spi3d LUT file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-42450?
CVE-2026-42450 is a high-severity memory corruption vulnerability in AcademySoftwareFoundation OpenColorIO, published on 24 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-120
Which versions are affected by CVE-2026-42450?
Linux distribution packages (1)
OpenColorIO openSUSE:Tumbleweed | All versions | 2.5.2-1.1 |
How do I fix CVE-2026-42450?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-42450 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42450 exists.
Sources
Also known as DEBIAN-CVE-2026-42450, GHSA-rxp3-rrgx-f547, UBUNTU-CVE-2026-42450, openSUSE-SU-2026:10801-1.