CVE-2026-42450: CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') in AcademySoftwareFoundation OpenColorIO
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.
AI Analysis
Technical Summary
OpenColorIO versions before 2.5.2 contain a classic buffer overflow (CWE-120) in the parsing of LUT data lines within FileFormatSpi3D.cpp. The vulnerable code uses sscanf with the %s format specifier to copy input from a 4096-byte line buffer into a 64-byte stack buffer without bounds checking. This can lead to a stack-based buffer overflow of roughly 4000 bytes on non-Windows systems when processing maliciously crafted .spi3d files. The issue is resolved in OpenColorIO 2.5.2.
Potential Impact
An attacker who can supply a crafted .spi3d file to OpenColorIO on a non-Windows system may trigger a stack-based buffer overflow, potentially leading to arbitrary code execution or denial of service. The vulnerability has a CVSS 4.0 score of 8.4 (high severity), indicating significant impact if exploited. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Upgrade OpenColorIO to version 2.5.2 or later, where this buffer overflow vulnerability is fixed. No official patch or temporary workaround is indicated. Until upgrading, avoid processing untrusted .spi3d files to reduce risk.
CVE-2026-42450: CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') in AcademySoftwareFoundation OpenColorIO
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.
CVSS v4.0
Score 8.4high
Affected software
pkg:github/academysoftwarefoundation/OpenColorIORun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenColorIO versions before 2.5.2 contain a classic buffer overflow (CWE-120) in the parsing of LUT data lines within FileFormatSpi3D.cpp. The vulnerable code uses sscanf with the %s format specifier to copy input from a 4096-byte line buffer into a 64-byte stack buffer without bounds checking. This can lead to a stack-based buffer overflow of roughly 4000 bytes on non-Windows systems when processing maliciously crafted .spi3d files. The issue is resolved in OpenColorIO 2.5.2.
Potential Impact
An attacker who can supply a crafted .spi3d file to OpenColorIO on a non-Windows system may trigger a stack-based buffer overflow, potentially leading to arbitrary code execution or denial of service. The vulnerability has a CVSS 4.0 score of 8.4 (high severity), indicating significant impact if exploited. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Upgrade OpenColorIO to version 2.5.2 or later, where this buffer overflow vulnerability is fixed. No official patch or temporary workaround is indicated. Until upgrading, avoid processing untrusted .spi3d files to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-27T13:55:58.693Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3be194eed863c81eeb9653
Added to database: 06/24/2026, 13:54:28 UTC
Last enriched: 06/24/2026, 14:09:16 UTC
Last updated: 06/24/2026, 19:05:15 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.