{"id":"JLSEC-2026-812","aliases":["JLSEC-2026-812"],"related":["CVE-2026-44663"],"kind":"vulnerability","state":"published","title":"Heap buffer overflow when decoding a malicious HTJ2K-compressed EXR file","summary":"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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"jlsec"}],"published":"2026-07-29T14:18:08.707Z","modified":"2026-07-29T14:30:04.201Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"3.4.4+0","status":"affected","fixed":"3.4.12+0"}],"ecosystem":"Julia","package":"OpenEXR_jll","purl":"pkg:julia/OpenEXR_jll?uuid=18a262bb-aa17-5467-a713-aee519bc75cb","source":"jlsec"}],"references":[{"url":"https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.12","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-777r-f9x8-7r84","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-812","url":"https://osv.dev/vulnerability/JLSEC-2026-812","licence":"CC-BY-4.0","modified":"2026-07-29T14:30:04.201Z"}],"updatedAt":"2026-11-25T22:56:26.247Z"}