CVE-2026-59956

Description

A flaw was found in OpenImageIO. When processing an uncompressed 16-bit IFF (Image File Format) image with a z-buffer, the iffinput::readimg() function allocates a temporary scanline buffer that is smaller than required. This leads to an oversized memory copy operation that reads beyond the allocated heap buffer. A local attacker could provide a specially crafted IFF image, potentially causing a crash (Denial of Service) or disclosing sensitive adjacent heap data.

Statement

Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.

Mitigation

To mitigate this issue, avoid processing untrusted or maliciously crafted IFF image files with applications that use OpenImageIO. Restricting the sources of IFF images to trusted origins can reduce the risk of exploitation.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.

Confidentiality

Technical Impact: Bypass Protection Mechanism

Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.

Other

Technical Impact: Varies by Context

The read operation could produce other undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.