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

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-24T13:20:09.025Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation OpenColorIO: < 2.5.2

## References

- <https://github.com/AcademySoftwareFoundation/OpenColorIO/security/advisories/GHSA-rxp3-rrgx-f547> (exploit)
- <https://github.com/AcademySoftwareFoundation/OpenColorIO/releases/tag/v2.5.2>

## Sources

- CVE List: [CVE-2026-42450](https://www.cve.org/CVERecord?id=CVE-2026-42450), CVE Terms of Use, modified 2026-06-24
- NVD: [CVE-2026-42450](https://nvd.nist.gov/vuln/detail/CVE-2026-42450), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-42450 · Whole record: https://cve.day/CVE-2026-42450.json · Rebuilt by cve.day 2026-11-25T22:59:25.605Z
