Skip to content

CVE-2026-68514 OpenEXR: Heap buffer overflow in PyOpenEXR from literal/prefixed RGB channel name collision in deep images

MediumCVSS 5.5 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

OpenEXR is the reference implementation and specification for the EXR image file format, widely used in the motion picture industry. In versions 3.3.0 through 3.3.12 and 3.4.0 through 3.4.13, the PyOpenEXR Python bindings contain a heap out-of-bounds write triggered when reading a crafted deep scanline EXR file. When a deep file declares a literal channel named left alongside layer-prefixed RGB channels left.R, left.G, and left.B, the wrapper processes the literal left channel first and allocates a scalar deep sample array for it, then reuses that same array as the coalesced destination for the prefixed RGB group. The deep reader registers sample slices with an RGB stride (three lanes) into storage that was allocated with scalar shape, so decoding the deep samples writes past the allocation. Opening such a file through the default public Python API, OpenEXR.File(path), causes a heap buffer overflow during normal deep sample decode, leading to memory corruption and a crash. This issue is fixed in versions 3.3.13 and 3.4.14.

Upgrade path

7 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/openexr(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/openexr(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/openexr(Ubuntu 26.04) 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.24) < 3.4.15-r0 3.4.15-r0 Fixed
debian/openexr(Debian 14) < 3.4.14-0.1; = 3.1.13-2; = 3.4.6+ds-1; = 3.4.6+ds-2 +2 more 3.4.14-0.1 Fixed
AcademySoftwareFoundation openexr = >= 3.3.0, < 3.3.13; = >= 3.4.0, < 3.4.14 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
AcademySoftwareFoundation openexr = >= 3.3.0, < 3.3.13 No fix listed
AcademySoftwareFoundation openexr = >= 3.4.0, < 3.4.14 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.4.6+ds-1 No fix listed
debian/openexr(Debian:14) = 3.4.6+ds-2 No fix listed
debian/openexr(Debian:14) = 3.4.6+ds-3 No fix listed
debian/openexr(Debian:14) = 3.4.6+ds-4 No fix listed
ubuntu/openexr(Ubuntu:22.04) All versions No fix listed
alpine/openexr(Alpine:v3.24) < 3.4.15-r0 3.4.15-r0
ubuntu/openexr(Ubuntu:24.04) All versions No fix listed
ubuntu/openexr(Ubuntu:26.04) All versions No fix listed
ubuntu/openexr(Ubuntu:26.10) All versions No fix listed

References