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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.46% (percentile 32, 2026-11-26)
- **CWE:** CWE-190, CWE-787
- **Published:** 2026-05-14T19:07:05.958Z
- **Modified:** 2026-10-25T23:10:00.167Z

## Who should check

- Anyone running AcademySoftwareFoundation OpenImageIO \< 3.0.18.0; \>= 3.1.4.0-beta, \< 3.1.13.0

## Description

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.

## Affected and fixed versions

- AcademySoftwareFoundation OpenImageIO: \< 3.0.18.0; \>= 3.1.4.0-beta, \< 3.1.13.0 (cvelist)

## Mitigation

- Upgrade OpenImageIO to 3.1.13.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43907. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43907.md
Affected: AcademySoftwareFoundation OpenImageIO < 3.0.18.0; >= 3.1.4.0-beta, < 3.1.13.0
Fixed in: AcademySoftwareFoundation OpenImageIO 3.0.18.0, AcademySoftwareFoundation OpenImageIO 3.1.13.0

Steps:
1. Search this machine and project for AcademySoftwareFoundation OpenImageIO: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43907 being exploited?

There is no confirmed exploitation: CVE-2026-43907 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43907?

High: CVSS 8.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-43907?

AcademySoftwareFoundation OpenImageIO \< 3.0.18.0; \>= 3.1.4.0-beta, \< 3.1.13.0.

### Is there a fix for CVE-2026-43907?

Yes. Fixed in AcademySoftwareFoundation OpenImageIO 3.0.18.0, AcademySoftwareFoundation OpenImageIO 3.1.13.0. Upgrade OpenImageIO to 3.1.13.0 or later.

### How do I check if I'm affected by CVE-2026-43907?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-cq46-hp4h-cvfr>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43907>

HTML: <https://flawdb.com/CVE-2026-43907> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43907>
