# CVE-2026-43907: OpenImageIO: Integer overflow in QueryRGBBufferSizeInternal leads to heap out-of-bounds write in DPX decoder (kCbYCr and kABGR)

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.0.18.0, 3.1.13.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-05-14 · Modified: 2026-05-14
- Aliases: UBUNTU-CVE-2026-43907, DEBIAN-CVE-2026-43907
- Record: https://cvemate.com/vulnerability/CVE-2026-43907 · JSON: https://cvemate.com/vulnerability/CVE-2026-43907/json

## Description

```text
OpenImageIO is a toolset for reading, writing, and manipulating image files of any image file format relevant to VFX / animation. Prior to 3.0.18.0 and 3.1.13.0, a signed integer overflow in QueryRGBBufferSizeInternal() in DPXColorConverter.cpp leads to a heap-based out-of-bounds write when processing crafted DPX image files. The function computes buffer sizes using 32-bit signed integer arithmetic with negative multipliers (e.g., pixels * -3 * bytes for kCbYCr descriptors and pixels * -4 * bytes for kABGR descriptors), where a negative result is used as an in-band signal that no separate buffer is needed. When the pixel count is sufficiently large, the multiplication overflows INT_MIN and wraps to a small positive value. The caller in dpxinput.cpp interprets this positive value as a required buffer size, allocates an undersized heap buffer via m_decodebuf.resize(), and then writes the full image data into it via fread, resulting in a heap buffer overflow. An attacker can exploit this by crafting a DPX file that triggers the overflow, causing a denial of service (crash) or potentially arbitrary code execution through heap corruption in any application that reads pixel data using OpenImageIO. This vulnerability is fixed in 3.0.18.0 and 3.1.13.0.
```

## Signals

- CVSS: 8.3 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
- EPSS: 0.37%, percentile 32.953%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- academysoftwarefoundation openimageio: \< 3.0.18.0 \| ≥ 3.1.4.0-beta, \< 3.1.13.0
- debian openimageio (Debian): All versions (No fix recorded) \| \< 3.1.18.0+dfsg-2
- ubuntu openimageio (Ubuntu): \< 1.6.11~dfsg0-1ubuntu1+esm2 \| \< 1.7.17~dfsg0-1ubuntu2+esm1 \| \< 2.1.12.0~dfsg0-1ubuntu0.1~esm1 \| All versions (No fix recorded) \| \< 2.4.17.0+dfsg-1.1ubuntu0.1~esm1 \| \< 2.5.19.1+dfsg-2ubuntu0.1~esm1
- openimageio openimageio: \< 3.0.18.0 \| ≥ 3.1.4.0, \< 3.1.13.0 \| 3.2.0.2:dev

## References

- <https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-cq46-hp4h-cvfr>
- <https://ubuntu.com/security/CVE-2026-43907>
- <https://www.cve.org/CVERecord?id=CVE-2026-43907>
- <https://security-tracker.debian.org/tracker/CVE-2026-43907>

---

Data as of 2026-12-05T09:58:33.502Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
