Skip to content

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

MediumCVSS 5.9 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

14 packages: 8 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/openexr(Debian 12) = 3.1.5-5; = 3.1.5-5.1; = 3.1.5-5.1+hurd.1; = 3.1.13-1 +11 more No fix listed No fix yet
redhat/openexr(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/openexr(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/openexr(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
ubuntu/openexr(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/openexr(Alpine v3.22) >= 3.3.0, < 3.3.11-r0 3.3.11-r0 Fixed
alpine/openexr(Alpine v3.23) >= 3.4.0, < 3.4.13-r0 3.4.13-r0 Fixed
alpine/openexr(Alpine v3.24) >= 3.4.0, < 3.4.10-r0 3.4.10-r0 Fixed
debian/openexr(Debian 13) < 3.2.12-1~deb13u1; = 3.1.13-2 3.2.12-1~deb13u1 Fixed
debian/openexr(Debian 14) < 3.4.14-0.1; = 3.1.13-2; = 3.2.12-1~deb13u1; = 3.4.6+ds-1 +3 more 3.4.14-0.1 Fixed
openexr >= 3.2.0, < 3.2.7; >= 3.3.0, < 3.3.9; >= 3.4.0, < 3.4.9 3.2.7, 3.3.9, 3.4.9 Fixed
ubuntu/openexr(Ubuntu 24.04) < 3.1.5-5.1ubuntu0.1~esm1 3.1.5-5.1ubuntu0.1~esm1 Fixed
ubuntu/openexr(Ubuntu 26.04) < 3.1.13-2ubuntu0.26.04.1~esm1 3.1.13-2ubuntu0.26.04.1~esm1 Fixed
AcademySoftwareFoundation openexr = >= 3.2.0, < 3.2.7; = >= 3.3.0, < 3.3.9; = >= 3.4.0, < 3.4.9 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
AcademySoftwareFoundation openexr = >= 3.2.0, < 3.2.7 No fix listed
AcademySoftwareFoundation openexr = >= 3.3.0, < 3.3.9 No fix listed
AcademySoftwareFoundation openexr = >= 3.4.0, < 3.4.9 No fix listed
debian/openexr(Debian:12) All versions No fix listed
debian/openexr(Debian:12) = 3.1.13-1 No fix listed
debian/openexr(Debian:12) = 3.1.13-2 No fix listed
debian/openexr(Debian:12) = 3.1.5-5 No fix listed
debian/openexr(Debian:12) = 3.1.5-5.1 No fix listed
debian/openexr(Debian:12) = 3.1.5-5.1+hurd.1 No fix listed
debian/openexr(Debian:12) = 3.2.12-1~deb13u1 No fix listed
debian/openexr(Debian:12) = 3.4.14-0.1 No fix listed
debian/openexr(Debian:12) = 3.4.15+ds-1 No fix listed
debian/openexr(Debian:12) = 3.4.16+ds-1 No fix listed
debian/openexr(Debian:12) = 3.4.6+ds-1 No fix listed
debian/openexr(Debian:12) = 3.4.6+ds-2 No fix listed
debian/openexr(Debian:12) = 3.4.6+ds-3 No fix listed
debian/openexr(Debian:12) = 3.4.6+ds-4 No fix listed
debian/openexr(Debian:12) = 3.5.2+ds-1 No fix listed
debian/openexr(Debian:13) < 3.2.12-1~deb13u1 3.2.12-1~deb13u1
debian/openexr(Debian:13) = 3.1.13-2 No fix listed
debian/openexr(Debian:14) < 3.4.14-0.1 3.4.14-0.1
debian/openexr(Debian:14) = 3.1.13-2 No fix listed
debian/openexr(Debian:14) = 3.2.12-1~deb13u1 No fix listed
debian/openexr(Debian:14) = 3.4.6+ds-1 No fix listed
debian/openexr(Debian:14) = 3.4.6+ds-2 No fix listed
Show 16 more
ProductAffected versionsFixed in
debian/openexr(Debian:14) = 3.4.6+ds-3 No fix listed
debian/openexr(Debian:14) = 3.4.6+ds-4 No fix listed
redhat/openexr(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/openexr(Red Hat:rhel_els:6) All versions No fix listed
redhat/openexr(Red Hat:rhel_els:7) All versions No fix listed
redhat/openexr(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/openexr(Red Hat:enterprise_linux:9) All versions No fix listed
ubuntu/openexr(Ubuntu:24.04) < 3.1.5-5.1ubuntu0.1~esm1 3.1.5-5.1ubuntu0.1~esm1
ubuntu/openexr(Ubuntu:26.04) < 3.1.13-2ubuntu0.26.04.1~esm1 3.1.13-2ubuntu0.26.04.1~esm1
ubuntu/openexr(Ubuntu:26.10) All versions No fix listed
openexr >= 3.2.0, < 3.2.7 3.2.7
openexr >= 3.3.0, < 3.3.9 3.3.9
openexr >= 3.4.0, < 3.4.9 3.4.9
alpine/openexr(Alpine:v3.22) >= 3.3.0, < 3.3.11-r0 3.3.11-r0
alpine/openexr(Alpine:v3.23) >= 3.4.0, < 3.4.13-r0 3.4.13-r0
alpine/openexr(Alpine:v3.24) >= 3.4.0, < 3.4.10-r0 3.4.10-r0

References