CVE-2026-34545

OpenEXR: integer overflow lead to OOB in HTJ2K decoder

State
Published
Severity
8.4 High
Published
Apr 1, 2026
Updated
Jul 15, 2026
Reserved
Mar 30, 2026

Read the record on cve.org

Description

OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From version 3.4.0 to before version 3.4.7, an attacker providing a crafted .exr file with HTJ2K compression and a channel width of 32768 can write controlled data beyond the output heap buffer in any application that decodes EXR images. The write primitive is 2 bytes per overflow iteration or 4 bytes (by another path), repeating for each additional pixel past the overflow point. In this context, a heap write overflow can lead to remote code execution on systems. This issue has been patched in version 3.4.7.

Scores

CVSSScoreVectorSource
4.08.4 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-122 Heap-based Buffer Overflow
  • CWE-190 Integer Overflow or Wraparound
  • CWE-1284 Improper Validation of Specified Quantity in Input

Affected Products

ProductVersions
openexrAcademySoftwareFoundation
  • >= 3.4.0, < 3.4.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.