p PatchFirst

CVE-2026-43907

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.3 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • openimageio

    Versions
    • < 3.0.18.0: Affected
    • >= 3.1.4.0-beta, < 3.1.13.0: Affected

    No fix published

  • openimageio Debian:12

    Versions
    • 2.4.12.0+dfsg-1
    • 2.4.13.0+dfsg-1
    • 2.4.14.0+dfsg-1
    • 2.4.16.0+dfsg-1
    • 2.4.17.0+dfsg-1
    • 2.4.17.0+dfsg-1.1
    • 2.4.7.1+dfsg-2
    • 2.4.9.0+dfsg-1
    • 2.5.10.1+dfsg-1
    • 2.5.12.0+dfsg-1
    • 2.5.12.0+dfsg-2
    • 2.5.14.0+dfsg-1
    • 2.5.15.0+dfsg-1
    • 2.5.16.0+dfsg-1
    • 2.5.18.0+dfsg-1
    • 2.5.19.1+dfsg-1
    • 2.5.19.1+dfsg-2
    • 2.5.7.0+dfsg-1
    • 3.1.18.0+dfsg-1
    • 3.1.18.0+dfsg-2
    • 3.1.18.1+dfsg-1
    • 3.1.18.1+dfsg-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openimageio Debian:13

    Versions
    • 2.5.18.0+dfsg-1
    • 2.5.19.1+dfsg-1
    • 2.5.19.1+dfsg-2
    • 3.1.18.0+dfsg-1
    • 3.1.18.0+dfsg-2
    • 3.1.18.1+dfsg-1
    • 3.1.18.1+dfsg-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openimageio Debian:14

    Versions
    • 2.5.18.0+dfsg-1
    • 2.5.19.1+dfsg-1
    • 2.5.19.1+dfsg-2
    • 3.1.18.0+dfsg-1
    Affected ranges
    • ECOSYSTEM: < 3.1.18.0+dfsg-2

    Update to 3.1.18.0+dfsg-2

  • openimageio Ubuntu:Pro:16.04:LTS

    Versions
    • 1.5.17~dfsg0-1ubuntu2
    • 1.5.20~dfsg0-1ubuntu2
    • 1.5.23~dfsg0-1ubuntu1
    • 1.6.9~dfsg0-4ubuntu1
    • 1.6.10~dfsg0-1ubuntu1
    • 1.6.10~dfsg0-2ubuntu1
    • 1.6.11~dfsg0-1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1.6.11~dfsg0-1ubuntu1+esm2

    Update to 1.6.11~dfsg0-1ubuntu1+esm2

  • openimageio Ubuntu:Pro:18.04:LTS

    Versions
    • 1.6.17~dfsg0-1ubuntu5
    • 1.7.17~dfsg0-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 1.7.17~dfsg0-1ubuntu2+esm1

    Update to 1.7.17~dfsg0-1ubuntu2+esm1

  • openimageio Ubuntu:Pro:20.04:LTS

    Versions
    • 2.0.10~dfsg0-1
    • 2.0.11~dfsg0-1
    • 2.0.12~dfsg0-1
    • 2.0.12~dfsg0-1build1
    • 2.0.12~dfsg0-1build2
    • 2.1.10.1~dfsg0-5ubuntu4
    • 2.1.10.1~dfsg0-5ubuntu5
    • 2.1.12.0~dfsg0-1
    Affected ranges
    • ECOSYSTEM: < 2.1.12.0~dfsg0-1ubuntu0.1~esm1

    Update to 2.1.12.0~dfsg0-1ubuntu0.1~esm1

  • openimageio Ubuntu:22.04:LTS

    Versions
    • 2.2.10.1+dfsg-1build1
    • 2.2.18.0+dfsg-1
    • 2.2.18.0+dfsg-1build2
    • 2.2.18.0+dfsg-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openimageio Ubuntu:Pro:24.04:LTS

    Versions
    • 2.4.14.0+dfsg-1
    • 2.4.16.0+dfsg-1
    • 2.4.16.0+dfsg-1build1
    • 2.4.17.0+dfsg-1
    • 2.4.17.0+dfsg-1build1
    • 2.4.17.0+dfsg-1.1build3
    • 2.4.17.0+dfsg-1.1build4
    Affected ranges
    • ECOSYSTEM: < 2.4.17.0+dfsg-1.1ubuntu0.1~esm1

    Update to 2.4.17.0+dfsg-1.1ubuntu0.1~esm1

  • openimageio Ubuntu:25.10

    Versions
    • 2.5.18.0+dfsg-1build1
    • 2.5.18.0+dfsg-1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openimageio Ubuntu:26.10

    Versions
    • 2.5.19.1+dfsg-2
    • 2.5.19.1+dfsg-2build1
    • 2.5.19.1+dfsg-2build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openimageio Ubuntu:Pro:26.04:LTS

    Versions
    • 2.5.18.0+dfsg-1build2
    • 2.5.19.1+dfsg-1build1
    • 2.5.19.1+dfsg-1build3
    • 2.5.19.1+dfsg-1build5
    • 2.5.19.1+dfsg-2
    Affected ranges
    • ECOSYSTEM: < 2.5.19.1+dfsg-2ubuntu0.1~esm1

    Update to 2.5.19.1+dfsg-2ubuntu0.1~esm1

Original sources

Check your server →