CVE-2026-34545

OpenEXR: integer overflow lead to OOB in HTJ2K decoder

Published Apr 1, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an integer overflow in the HTJ2K decoder of OpenEXR. A malicious .exr file that uses HTJ2K compression and sets a channel width of 32768 can cause the decoder to calculate a buffer size that is too small. The overflow causes the program to write controlled data beyond the allocated heap buffer. This out‑of‑bounds write can overwrite arbitrary heap memory, providing a write primitive that can be leveraged to execute arbitrary code. The weakness is a buffer overflow, signed integer overflow, and arithmetic error as indicated by the associated CWEs.

Affected Systems

OpenEXR versions 3.4.0 through 3.4.6 are affected. Any application that links against these library releases and decodes .exr files containing HTJ2K compressed data is at risk. The issue was addressed in OpenEXR 3.4.7, which introduces bounds checks that prevent the overflow.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity, and the EPSS score of less than 1% suggests exploitation probability remains low at present. The vulnerability is not listed in CISA’s KEV catalog, so it is not currently known to be actively exploited. The likely attack vector requires delivery of a crafted .exr file to the vulnerable application; if the application parses files from an untrusted source, the attacker could gain remote code execution by controlling the heap layout. The impact includes potential compromise of confidentiality, integrity, and availability of the affected system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEXR to 3.4.7 or later
  • If an upgrade is not feasible, disable or restrict processing of HTJ2K‑compressed .exr files in the application
  • Monitor for abnormal memory usage, crashes, or RCE attempts in applications that use OpenEXR
  • Verify that no older OpenEXR versions remain installed on the system

Generated by OpenCVE AI on April 7, 2026 at 22:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Openexr
Openexr openexr
CPEs cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*
Vendors & Products Openexr
Openexr openexr
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Academysoftwarefoundation
Academysoftwarefoundation openexr
Vendors & Products Academysoftwarefoundation
Academysoftwarefoundation openexr
Type Values Removed Values Added
Weaknesses CWE-1284
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
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.
Title OpenEXR: integer overflow lead to OOB in HTJ2K decoder
Weaknesses CWE-122
CWE-190
References
Metrics cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 1:04 AM
Reserved
Mar 30, 2026, 4:31 PM
Status
Modified
Published
Apr 1, 2026, 9:17 PM
Modified
Oct 26, 2026, 10:10 PM
Severity
Important
Public date
Apr 1, 2026, 8:51 PM