---
id: "CVE-2026-113681"
kind: "vulnerability"
aliases: ["CVE-2026-113681"]
title: "OpenImageIO: crafted Cineon file causes heap out-of-bounds read and crash"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["c++", "image-processing", "openimageio", "package"]
not_affected_if: ["cineon-not-used", "no-untrusted-cineon-input"]
published_at: "2026-10-20T16:17:13+00:00"
first_seen_at: "2026-10-23T21:57:20+00:00"
updated_at: "2026-10-25T03:44:40+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-113681", "first_seen_at": "2026-10-23T21:57:20+00:00"}]
---

# OpenImageIO: crafted Cineon file causes heap out-of-bounds read and crash

OpenImageIO's Cineon reader computes a scanline buffer size with an integer overflow when the declared width is huge, so the buffer is undersized. Opening a crafted Cineon file makes the application read past the buffer and crash.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed OpenImageIO version with `oiiotool --version` or the library version your application links against, and compare it to the fixed releases.
- Search your application for file-loading paths that accept Cineon (.cin) files from untrusted sources.

## Fix

- Upgrade OpenImageIO to `3.0.20.0` or later on the 3.0 line, `3.1.15.0` or later on the 3.1 line, or `3.2.0.3-beta1` or later on the 3.2 line.
- Until upgraded, reject or sandbox .cin files from untrusted sources.

## Timeline

- 2026-10-23T21:57:20+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-113681

## From the sources

OpenImageIO before 3.0.20.0, 3.1.x before 3.1.15.0, and 3.2.x before 3.2.0.3-beta1 contains an integer overflow in cineon::Codec::Read that undersizes the scanline buffer, causing a heap out-of-bounds read. Attackers can supply a crafted Cineon file with a huge declared width that wraps the size calculation to zero, so UnPackPacked reads past a 4-byte buffer and crashes the application.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
