p PatchFirst

CVE-2026-43996

CVE-2026-43996 · OpenImageIO: Integer wraparound in bounds check of decode_pixel leads to out-of-bounds read in TGA paletted image decoder

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, the bounds check in TGAInput::decode_pixel computes k + palbytespp as unsigned 32-bit arithmetic. When k = 0xFFFFFFFC and palbytespp = 4, the addition wraps to 0, which compares less than palette_alloc_size and passes the check. The subsequent palette access uses the unwrapped k (0xFFFFFFFC) as the index, reading ~4 GB past the start of the palette buffer — SEGV. This vulnerability is fixed in 3.0.18.0 and 3.1.13.0.

CVSS 5.5 · Medium · EPSS 0.2% · 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: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
    • 1.6.11~dfsg0-1ubuntu1+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openimageio Ubuntu:Pro:18.04:LTS

    Versions
    • 1.6.17~dfsg0-1ubuntu5
    • 1.7.17~dfsg0-1ubuntu2
    • 1.7.17~dfsg0-1ubuntu2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 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
    • 2.1.12.0~dfsg0-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 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
    • 2.4.17.0+dfsg-1.1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 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
    • 2.5.19.1+dfsg-2ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →