Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-34380 EUVD-2026-19307

OpenEXR has a signed integer overflow (undefined behavior) in undo_pxr24_impl may allow bounds-check bypass in PXR24 decompression

Published Apr 6, 2026 · Updated May 12, 2026 · Assigned by GitHub_M

Description

OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From 3.2.0 to before 3.2.7, 3.3.9, and 3.4.9, a signed integer overflow exists in undo_pxr24_impl() in src/lib/OpenEXRCore/internal_pxr24.c at line 377. The expression (uint64_t)(w * 3) computes w * 3 as a signed 32-bit integer before casting to uint64_t. When w is large, this multiplication constitutes undefined behavior under the C standard. On tested builds (clang/gcc without sanitizers), two's-complement wraparound commonly occurs, and for specific values of w the wrapped result is a small positive integer, which may allow the subsequent bounds check to pass incorrectly. If the check is bypassed, the decoding loop proceeds to write pixel data through dout, potentially extending far beyond the allocated output buffer. This vulnerability is fixed in 3.2.7, 3.3.9, and 3.4.9.

Affected products

VendorProductAffectedFixed
AcademySoftwareFoundation openexr >= 3.2.0, < 3.2.7, >= 3.3.0, < 3.3.9, >= 3.4.0, < 3.4.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openexr 3.4.14-0.1 —
Debian 13 openexr 3.2.12-1~deb13u1 —
Debian 12 openexr No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openexr No fix yet —
Ubuntu 25.10 openexr No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS openexr 3.1.13-2ubuntu0.26.04.1~esm1 USN-8259-1
Ubuntu Pro 24.04 LTS openexr 3.1.5-5.1ubuntu0.1~esm1 USN-8259-1
Ubuntu Pro 22.04 LTS openexr 2.5.7-1ubuntu0.1~esm2 USN-8259-1
Ubuntu Pro 20.04 LTS openexr 2.3.0-6ubuntu0.5+esm2 USN-8259-1
Ubuntu Pro 18.04 LTS openexr 2.2.0-11.1ubuntu1.9+esm1 USN-8259-1
Ubuntu Pro 16.04 LTS openexr 2.2.0-10ubuntu2.6+esm4 USN-8259-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openexr 3.4.9-1.1 openSUSE-SU-2026:10505-1
openSUSE Leap 16.0 openexr 3.2.2-160000.6.1 openSUSE-SU-2026:20605-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openexr 3.4.10-r0 —
Alpine v3.23 openexr 3.4.13-r0 —
Alpine v3.22 openexr 3.3.11-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openexr +2 3.1.5-1.amzn2023.0.9 ALAS2023-2026-1612

Advisories 4

References