CVE-2026-55059

OpenEXR: OpenEXRUtil SampleCountChannel row setter heap has an out-of-bounds write vulnerability

Published Aug 25, 2026 CVSS 3.1 · 6.1 Medium 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. Versions prior to 3.2.10, 3.3.12 and 3.4.13 contain a heap out-of-bounds write in Imf_4_0::SampleCountChannel::set(int r, unsigned int newNumSamples[]). The row-based sample-count setter computes the target Y coordinate with dataWindow.min.x instead of dataWindow.min.y. For a valid deep image data window where min.x != min.y, a valid row index can be translated into an invalid Y coordinate, causing writes before the allocated _numSamples buffer. The vulnerability is reachable through the public OpenEXRUtil DeepImage API and can lead to heap corruption and process crashes. This issue has been fixed in versions 3.2.10, 3.3.12 and 3.4.13.

Analysis

AI-generated

Technical impact

The vulnerability in the OpenEXR library’s Imf_4_0::SampleCountChannel::set method causes a heap out‑of‑bounds write when the row‑based sample‑count setter incorrectly uses dataWindow.min.x instead of dataWindow.min.y. This logic flaw allows a valid row index for deep images where min.x differs from min.y to translate into an invalid Y coordinate, writing before the allocated _numSamples buffer. The resulting heap corruption can lead to crashes and, depending on context, potentially compromise memory integrity. No remote code execution is explicitly documented in the CVE description.

Affected Systems

The affected product is the Academy Software Foundation’s OpenEXR library. Versions prior to 3.2.10, 3.3.12, and 3.4.13 contain the flaw. Users of these versions who create or process deep EXR files through the OpenEXRUtil DeepImage API are at risk. Fixes are available in the stated releases.

Risk and Exploitability

The CVSS score of 6.1 classifies the vulnerability as moderate severity. The EPSS score indicates a very low likelihood of exploitation at this time, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw is exercised via the public DeepImage API, an attacker who can supply a crafted deep EXR file could trigger the out‑of‑bounds write. Although no active exploits have been reported, the nature of the heap corruption warrants caution for systems that routinely process untrusted EXR content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update OpenEXR to a fixed version (3.2.10 or newer, 3.3.12 or newer, or 3.4.13 or newer).
  • If updating immediately is not feasible, restrict or validate incoming deep EXR files to ensure dataWindow.min.x equals dataWindow.min.y before handing them to the DeepImage API, or disable use of the vulnerable API.
  • Monitor applications that use OpenEXR for abnormal crashes or signs of memory corruption, and apply additional runtime memory protection measures if available.

Generated by OpenCVE AI on August 26, 2026 at 04:13 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
Description OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. Versions prior to 3.2.10, 3.3.12 and 3.4.13 contain a heap out-of-bounds write in Imf_4_0::SampleCountChannel::set(int r, unsigned int newNumSamples[]). The row-based sample-count setter computes the target Y coordinate with dataWindow.min.x instead of dataWindow.min.y. For a valid deep image data window where min.x != min.y, a valid row index can be translated into an invalid Y coordinate, causing writes before the allocated _numSamples buffer. The vulnerability is reachable through the public OpenEXRUtil DeepImage API and can lead to heap corruption and process crashes. This issue has been fixed in versions 3.2.10, 3.3.12 and 3.4.13.
Title OpenEXR: OpenEXRUtil SampleCountChannel row setter heap has an out-of-bounds write vulnerability
Weaknesses CWE-787
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-124

    Buffer Underwrite ('Buffer Underflow')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 27, 2026, 2:30 PM
Reserved
Jun 16, 2026, 2:33 PM
Status
Deferred
Published
Aug 25, 2026, 1:16 AM
Modified
Oct 12, 2026, 3:10 PM
Severity
Moderate
Public date
Aug 25, 2026, 12:16 AM