CVE-2026-133466 in OpenEXR
Summary
by MITRE • 11/25/2026
OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. From versions 3.4.0 through 3.4.18 and 3.5.0 through 3.5.2, decoding a crafted HT-compressed EXR chunk can cause ht_undo_impl() to write a 4-byte pixel value through a pointer that is not 4-byte aligned. This happens when the channels sum to a bytes-per-scanline stride that is not a multiple of four. This issue is fixed in versions 3.4.19 and 3.5.3.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
OpenEXR serves as the reference implementation for the EXR image format, which has become an industry standard in high-end visual effects and motion picture production due to its support for floating-point pixel data and complex compression schemes. Within this ecosystem, HT-compression is a specific lossless algorithm designed to optimize storage efficiency without sacrificing quality. However, vulnerabilities within the decoding logic of these compressed chunks can lead to significant stability issues or potential exploitation vectors in applications that process such files. The identified flaw affects OpenEXR versions ranging from 3.4.0 through 3.4.18 and 3.5.0 through 3.5.2, highlighting a persistent issue within the library's handling of specific compression parameters during image reconstruction.
The core technical deficiency lies in how the decoder manages memory alignment when processing HT-compressed data. Specifically, the function ht_undo_impl() is responsible for decompressing and reconstructing pixel values from the compressed stream. In certain scenarios where the sum of channel widths results in a bytes-per-scanline stride that is not a multiple of four, the implementation fails to ensure proper memory alignment before writing data. Consequently, the code attempts to write a 4-byte integer value through a pointer that lacks the required 4-byte alignment. This misalignment violates standard C/C++ expectations for aligned memory access on many architectures and can trigger undefined behavior depending on the underlying hardware architecture and operating system environment.
From an operational perspective, this vulnerability primarily manifests as application instability rather than immediate code execution. On strict-architecture systems such as ARM or older x86 processors, unaligned memory accesses often result in a segmentation fault or general protection exception, causing the host application to crash abruptly. This denial of service can disrupt workflows for artists and engineers who rely on stable rendering pipelines. While modern x86_64 architectures typically handle unaligned access with a performance penalty rather than crashing, relying on such implicit behavior is unsafe and non-portable. Furthermore, in more complex memory management contexts or when combined with other vulnerabilities, improper pointer alignment can potentially lead to heap corruption or information disclosure if the misaligned write overlaps into adjacent data structures unexpectedly.
This issue aligns closely with CWE-120 Buffer Copy without Checking Size of Input Classic buffer overflow variants and specifically CWE-479 Use of a System-Specific Feature in an Incorrect Way, as it involves incorrect handling of architecture-specific memory alignment requirements. In the context of the MITRE ATT&CK framework, this vulnerability could be leveraged for Denial of Service (T1499) if exploited to crash critical rendering services or potentially contribute to Memory Corruption techniques (T1203/T1205) in conjunction with other flaws within a larger application stack. The lack of alignment checks represents a fundamental oversight in low-level memory management practices that are critical for robust software engineering.
To mitigate this risk, organizations and developers utilizing OpenEXR must ensure they upgrade to patched versions immediately. Specifically, version 3.4.19 or later for the 3.4 branch and version 3.5.3 or later for the 3.5 branch contain fixes that address these alignment issues by ensuring proper padding or pointer adjustment before memory writes occur. For applications unable to upgrade instantly, implementing input validation at the ingestion layer to reject EXR files with suspicious channel configurations may provide a temporary defensive measure, though upgrading the underlying library remains the only definitive solution. Regular auditing of third-party dependencies for such low-level implementation flaws is essential for maintaining the integrity and stability of visual effects pipelines.