CVE-2026-34379
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
AcademySoftwareFoundation openexr>= 3.2.0, < 3.2.7, >= 3.3.0, < 3.3.9, >= 3.4.0, < 3.4.9CVE List
OpenEXRNot specifiedCVE List
openexr openexrfrom 3.2.0 before 3.2.7, from 3.3.0 before 3.3.9, from 3.4.0 before 3.4.9NVD

All scores

GitHub_M7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
redhat-SADP7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Classification

CWE-475CWE-704CWE-787CWE-843

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

OpenEXR proporciona la especificación e implementación de referencia del formato de archivo EXR, un formato de almacenamiento de imágenes para la industria cinematográfica. Desde la versión 3.2.0 hasta antes de las versiones 3.2.7, 3.3.9 y 3.4.9, existe una vulnerabilidad de escritura de memoria desalineada en LossyDctDecoder_execute() en src/lib/OpenEXRCore/internal_dwa_decoder.h:749. Al decodificar un archivo EXR comprimido con DWA o DWAB que contiene un canal de tipo FLOAT, el decodificador realiza una conversión in situ de HALF?FLOAT al convertir un puntero de fila uint8_t * no alineado a float * y escribir a través de él. Debido a que el búfer de fila puede no estar alineado a 4 bytes, esto constituye un comportamiento indefinido según el estándar C y provoca fallos inmediatamente en arquitecturas que imponen la alineación (ARM, RISC-V, etc.). En x86, se tolera silenciosamente en tiempo de ejecución, pero sigue siendo explotable a través de optimizaciones del compilador que asumen acceso alineado. Esta vulnerabilidad se corrige en las versiones 3.2.7, 3.3.9 y 3.4.9.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34379 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-34379 changed 2026-10-26Public domain