Skip to content
OpenAdvisories
High · 7.1 CVE-2026-34379 EUVD-2026-19305

OpenEXR has a misaligned write in LossyDctDecoder_execute leading to undefined behavior (DWA/DWAB decompression)

Published Apr 6, 2026 · Updated Jul 15, 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 misaligned memory write vulnerability exists in LossyDctDecoder_execute() in src/lib/OpenEXRCore/internal_dwa_decoder.h:749. When decoding a DWA or DWAB-compressed EXR file containing a FLOAT-type channel, the decoder performs an in-place HALF→FLOAT conversion by casting an unaligned uint8_t * row pointer to float * and writing through it. Because the row buffer may not be 4-byte aligned, this constitutes undefined behavior under the C standard and crashes immediately on architectures that enforce alignment (ARM, RISC-V, etc.). On x86 it is silently tolerated at runtime but remains exploitable via compiler optimizations that assume aligned access. 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 —
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 —

Advisories 2

References