Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-68514 EUVD-2026-65745

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

Published Aug 25, 2026 · Updated Aug 26, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
AcademySoftwareFoundation openexr >= 3.3.0, < 3.3.13, >= 3.4.0, < 3.4.14 —

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 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openexr No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS openexr No fix yet —
Ubuntu Pro 24.04 LTS openexr No fix yet —
Ubuntu Pro 22.04 LTS openexr No fix yet —
Ubuntu Pro 20.04 LTS openexr No fix yet —
Ubuntu Pro 18.04 LTS openexr No fix yet —
Ubuntu Pro 16.04 LTS openexr No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openexr 3.4.14-1.1 openSUSE-SU-2026:11612-1
openSUSE Tumbleweed python-OpenEXR 3.4.16-1.1 openSUSE-SU-2026:12184-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openexr 3.4.15-r0 —

Advisories 2

References