CVE-2026-59985

Description

A flaw was found in OpenEXR. A remote attacker could provide a specially crafted RLE-compressed EXR image, which causes a 64-bit unpacked size to truncate before memory allocation. This leads to a heap out-of-bounds read when unpack_32bit() attempts to read beyond the allocated buffer. Successful exploitation of this vulnerability could result in a denial of service (DoS) for the affected system.

Statement

A flaw was found in OpenEXR where a heap out-of-bounds read can occur when processing a specially crafted RLE-compressed EXR image file. This vulnerability only affects 32-bit ILP32 builds and was introduced in OpenEXR version 3.2.0; 64-bit LP64 builds are not vulnerable. Red Hat products ship OpenEXR versions below 3.2.0 (RHEL 9 ships 3.1.1, RHEL 10 ships 3.1.10) and therefore do not contain the vulnerable code. When exploited on vulnerable 32-bit builds with affected versions, this issue can lead to denial of service.

Mitigation

Red Hat does not ship OpenEXR versions 3.2.0 or later where this vulnerability was introduced. No mitigation is necessary for Red Hat products.

Understanding the Weakness (CWE)

Integrity,Confidentiality,Availability

Technical Impact: Read Memory; Modify Memory; Execute Unauthorized Code or Commands

When the length value exceeds the size of the destination, an out-of-bounds read or write could occur. Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of a program's implicit security policy. This can often be used to subvert any other security service.

Availability

Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU)

Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.

Frequently Asked Questions

Want to get errata notifications? Sign up here.