CVE-2026-59186

OpenEXR: Heap out-of-bounds write in TiledRgbaInputFile via integer overflow on 32-bit (ILP32) builds

Published Aug 25, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions before 3.2.11, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13, a crafted tiled EXR can trigger a heap out-of-bounds write on 32-bit/ILP32 builds when read through the public TiledRgbaInputFile RGBA API. The file uses a small 40x40 dataWindow but a 65537x65537 tile size. On ILP32, the Array2D<Rgba> tile-conversion buffer size calculation overflows, allocates a much smaller heap buffer, and tile decode writes past that allocation. This issue is fixed in versions 3.2.11, 3.3.13, and 3.4.14.

Analysis

AI-generated

Technical impact

A crafted tiled EXR file can trigger a heap out‑of‑bounds write in the OpenEXR library when accessed through the public TiledRgbaInputFile RGBA API. The vulnerability is caused by an integer overflow in the array buffer size calculation for 32‑bit (ILP32) builds, which allocates a buffer that is far smaller than needed and allows subsequent tile decode operations to write past the end of the allocation. This memory corruption can potentially lead to arbitrary code execution or program crashes if an attacker controls the EXR file contents.

Affected Systems

The vulnerability affects OpenEXR releases prior to 3.2.11, 3.3.13, and 3.4.14 on 32‑bit (ILP32) systems. Applications using any of the affected versions and processing tiled EXR files with tile dimensions of 65537×65537 on a small 40×40 data window are at risk.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a specially crafted EXR file to a vulnerable binary running on a 32‑bit build. While the crash likelihood is high, required conditions (ILP32 platform, vulnerable OpenEXR version, and malformed EXR input) reduce the probability of a widespread automated exploitation. Nonetheless, the potential impact of memory corruption warrants prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the OpenEXR library to 3.2.11, 3.3.13, or 3.4.14 or newer.
  • Rebuild applications to run on 64‑bit (LP64) builds where possible to avoid the ILP32 overflow.
  • Sandbox or restrict processing of untrusted EXR files by isolating the image decoding in a controlled environment.

Generated by OpenCVE AI on August 25, 2026 at 20:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, '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
Description OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions before 3.2.11, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13, a crafted tiled EXR can trigger a heap out-of-bounds write on 32-bit/ILP32 builds when read through the public TiledRgbaInputFile RGBA API. The file uses a small 40x40 dataWindow but a 65537x65537 tile size. On ILP32, the Array2D<Rgba> tile-conversion buffer size calculation overflows, allocates a much smaller heap buffer, and tile decode writes past that allocation. This issue is fixed in versions 3.2.11, 3.3.13, and 3.4.14.
Title OpenEXR: Heap out-of-bounds write in TiledRgbaInputFile via integer overflow on 32-bit (ILP32) builds
Weaknesses CWE-122
CWE-190
CWE-787
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 25, 2026, 6:18 PM
Reserved
Jul 2, 2026, 7:53 PM
Status
Deferred
Published
Aug 25, 2026, 5:17 PM
Modified
Sep 9, 2026, 9:07 PM