CVE-2026-44663
JSON

6.1medium

OpenEXR: Integer overflow in the HTJ2K decoder leads to heap-buffer-overflow

Severity
6.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions 3.4.0 through 3.4.11, an integer overflow in ht_undo_impl() in src/lib/OpenEXRCore/internal_ht.cpp leads to a heap-buffer overflow when decoding a crafted HTJ2K-compressed EXR file. decode->channels[i].width (int32_t) is multiplied by bytes_per_element in 32-bit signed arithmetic. With large widths (e.g., >= 536870912 for FLOAT data), this overflows, producing a corrupted offset that is later used for pointer arithmetic and can cause a heap out-of-bounds write. The same unchecked multiplication pattern appears in two other HTJ2K paths (bytes-per-line accumulation and pixel-line pointer advancement). As with related CVE-2026-34378 through CVE-2026-34589 fixes in other codecs, validating only after the multiplication is too late because the value may already be overflowed. This issue has been fixed in version 3.4.12.

Affected

Product or packageVersionsReported by
AcademySoftwareFoundation openexr>= 3.4.0, < 3.4.11CVE List
openexr openexrfrom 3.4.0 before 3.4.12NVD

All scores

GitHub_M6.1medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Classification

CWE-190CWE-787

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

What each source says

CVE List

OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions 3.4.0 through 3.4.11, an integer overflow in ht_undo_impl() in src/lib/OpenEXRCore/internal_ht.cpp leads to a heap-buffer overflow when decoding a crafted HTJ2K-compressed EXR file. decode->channels[i].width (int32_t) is multiplied by bytes_per_element in 32-bit signed arithmetic. With large widths (e.g., >= 536870912 for FLOAT data), this overflows, producing a corrupted offset that is later used for pointer arithmetic and can cause a heap out-of-bounds write. The same unchecked multiplication pattern appears in two other HTJ2K paths (bytes-per-line accumulation and pixel-line pointer advancement). As with related CVE-2026-34378 through CVE-2026-34589 fixes in other codecs, validating only after the multiplication is too late because the value may already be overflowed. This issue has been fixed in version 3.4.12.

NVD (es)

OpenEXR es la implementación de referencia y especificación para el formato de imagen EXR, ampliamente utilizado en la industria cinematográfica. En las versiones 3.4.0 a 3.4.11, un desbordamiento de entero en ht_undo_impl() en src/lib/OpenEXRCore/internal_ht.cpp conduce a un desbordamiento de búfer de pila al decodificar un archivo EXR comprimido con HTJ2K manipulado. decode -> channels[i].width (int32_t) se multiplica por bytes_per_element en aritmética con signo de 32 bits. Con anchos grandes (por ejemplo, >= 536870912 para datos FLOAT), esto se desborda, produciendo un desplazamiento corrupto que se utiliza posteriormente para aritmética de punteros y puede causar una escritura fuera de límites en la pila. El mismo patrón de multiplicación sin verificar aparece en otras dos rutas HTJ2K (acumulación de bytes por línea y avance del puntero de línea de píxeles). Al igual que con las correcciones relacionadas CVE-2026-34378 a CVE-2026-34589 en otros códecs, validar solo después de la multiplicación es demasiado tarde porque el valor ya podría haberse desbordado. Este problema ha sido corregido en la versión 3.4.12.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-44663 changed 2026-06-22CVE Terms of Use
NVDCVE-2026-44663 changed 2026-10-26Public domain