CVE-2026-65979: OpenEXR: Out-of-bounds read in HTJ2K decoder from unvalidated chunk header length (PLEN)

Published Aug 25, 2026
·
Updated

OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. From version 3.4.0 through 3.4.12, the HTJ2K decoder parses a header-length field (PLEN) from a chunk's compressed data but never checks that this value fits within the available buffer before using it. When decoding, it advances the codestream pointer by the attacker-supplied header size and passes the resulting offset and remaining length to the OpenJPH memory-input path, so a crafted value pushes the pointer past the end of the buffer and causes an out-of-bounds read. Because this field comes straight from attacker-controlled EXR chunk data, the flaw is reachable during normal decoding of an untrusted file. This issue is fixed in version 3.4.13.

Affected Software

1 affected component
OpenEXR OpenEXR>=3.4.0<=3.4.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenEXR HTJ2K decoder to a version that resolves this vulnerability.

    Fixed in 3.4.13

Event History

Aug 25, 2026
CVE Published
via MITRE·06:58 PM
Data Sourced
via MITRE·06:58 PM
DescriptionWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

OpenEXR versions 3.4.0 through 3.4.12 are affected when they decode EXR files containing HTJ2K-compressed chunk data. The issue is fixed in OpenEXR 3.4.13.

2

What does an attacker need to exploit this issue?

An attacker needs to supply a crafted EXR file with an attacker-controlled PLEN value in compressed chunk data and have the target decode it. No special configuration is described; the vulnerable path is reachable during normal decoding of an untrusted file.

3

What is the practical impact during decoding?

The crafted header length can advance the codestream pointer beyond the available buffer, causing an out-of-bounds read in the OpenJPH memory-input path.

4

What should be done if untrusted EXR files must be processed?

Upgrade to OpenEXR 3.4.13. Until upgrading is possible, avoid decoding untrusted EXR files that may contain HTJ2K-compressed chunk data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203