Vulnerability · Published Jun 24, 2026 · Assigned by GitHub_M

CVE-2026-42450OpenColorIO vulnerable to stack buffer overflow via unbounded `sscanf %s` in Spi3D (.spi3d) LUT parser

High 8.4

In plain English

A high-severity buffer overflow in OpenColorIO from AcademySoftwareFoundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities).

Severity (CVSS 4.0)8.4High
Exploit odds (30 days)0.2%top 92.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12opencoloriono fix listedDEBIAN-CVE-2026-42450
Debian:13opencoloriono fix listedDEBIAN-CVE-2026-42450
Debian:14opencoloriono fix listedDEBIAN-CVE-2026-42450
Ubuntu:22.04:LTSopencoloriono fix listedUBUNTU-CVE-2026-42450
Ubuntu:24.04:LTSopencoloriono fix listedUBUNTU-CVE-2026-42450
Ubuntu:25.10opencoloriono fix listedUBUNTU-CVE-2026-42450
Ubuntu:26.04:LTSopencoloriono fix listedUBUNTU-CVE-2026-42450
Ubuntu:26.10opencoloriono fix listedUBUNTU-CVE-2026-42450

Affected products (as reported)

VendorProductVersions
AcademySoftwareFoundation OpenColorIO < 2.5.2

Weakness: CWE-120 · Vector: 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

References