Skip to main content

OpenEXR CVE-2025-12839

HIGH
Heap-based Buffer Overflow (CWE-122)
2025-12-23 zdi-disclosures@trendmicro.com
7.8
CVSS 3.0 · Vendor: trendmicro
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious EXR file to victim
  2. Delivery
    Victim opens or app renders file
  3. Exploit
    Overlong field overflows heap buffer
  4. Execution
    Corrupt heap and hijack control flow
  5. Impact
    Execute code as current process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to open or render an attacker-crafted OpenEXR (.exr) file through an application that uses the OpenEXR library for EXR parsing (UI:R); there is no remote network-service exposure. The specific trigger is an EXR file whose user-supplied data length is not validated before being copied into a heap buffer. Limiting factors: user interaction is mandatory, exploitation is local to the process that parses the file (AV:L, scope unchanged), and impact is bounded by the privileges of that process. Risk is highest in environments that automatically ingest or thumbnail untrusted EXR files (render farms, media/asset pipelines, image viewers with auto-preview), and lower where EXR files come only from trusted sources.

Impact

Signals are consistent and point to a genuine but NOT emergency-tier issue. The CVSS 3.0 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8 HIGH) describes a local attack vector requiring user interaction but no privileges, with full confidentiality/integrity/availability impact once triggered - the standard profile for a client-side file-parsing RCE. Note the apparent tension: the description uses the phrase 'remote attackers,' but the vector is correctly AV:L because exploitation requires the victim to locally open or render a malicious EXR file rather than the attacker reaching the code over the network - these are reconcilable (attacker-supplied file delivered remotely, parsed locally), not a true contradiction. Exploitation signals are weak: EPSS is only 0.19% (9th percentile), there is no CISA KEV listing, and no public exploit code is referenced - so there is no public exploit identified at time of analysis. The vulnerability was reported privately through Trend Micro's Zero Day Initiative (ZDI-CAN-27947 / ZDI-25-990), which indicates credible, vetted research rather than opportunistic disclosure. Net: this is a real, patch-worthy memory-corruption RCE in a widely-embedded library, but the user-interaction requirement and low EPSS mean it is a routine-priority fix for most environments, elevated only where untrusted EXR files are processed automatically (e.g., render farms, thumbnailers, media pipelines).

Exploit ScenarioDerived

An attacker crafts a malicious OpenEXR (.exr) image whose internal length fields trigger a heap-based buffer overflow when parsed, then delivers it via a web page, email attachment, or shared asset. When a victim opens or an application auto-renders the file, the overflow corrupts heap memory and allows code execution in the context of the parsing process. No public proof-of-concept is referenced, and exploitation requires the victim to open/render the attacker-supplied file (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Heap-based buffer overflow in Academy Software Foundation OpenEXR allows unauthenticated attackers to execute arbitrary code in the context of the parsing process when a victim opens a crafted .exr file, requiring user interaction and local access to the file. The flaw stems from missing validation of user-supplied length data before a heap copy; no public exploit identified at time of analysis, and EPSS is low at 0.19% (9th percentile). Risk concentrates in pipelines that automatically ingest or thumbnail untrusted EXR assets.

RemediationAI

No vendor-released patch was identified in the provided data at time of analysis; monitor the ZDI advisory at https://www.zerodayinitiative.com/advisories/ZDI-25-990/ and the OpenEXR project for an official fixed release before upgrading. Until a patch is confirmed, restrict automatic processing and thumbnailing of untrusted .exr files-disable EXR preview generation in image viewers and asset management tools, and require explicit user action for opening files from untrusted sources-accepting reduced workflow automation as the trade-off. For pipelines that must process external EXR assets, run parsing in a sandboxed or low-privilege isolated process/container with no network access and limited filesystem write permissions, which contains the impact of a heap overflow at the cost of added operational overhead. Enforce least privilege on any process that opens EXR files and log or block EXR ingestion from email/web downloads where feasible. These are compensating controls, not a substitute for the eventual vendor fix.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenEXR is an image file format and library maintained by the Academy Software Foundation, widely used in visual effects and media pipelines for high-dynamic-range images. CVE-2025-12839 is a CWE-122 heap-based buffer overflow in the EXR parser: user-supplied length data is not properly validated before being copied into a heap buffer, so a crafted file can overwrite heap memory. The CVSS:3.1 vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H confirms the attack is local to the parsing process, requires user interaction to open the file, is unauthenticated, and yields high confidentiality, integrity, and availability impact within the same security scope; the CPE cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* indicates no version constraint was provided, so all OpenEXR versions should be treated as potentially affected until vendor guidance is available. The issue was reported through Trend Micro ZDI as ZDI-CAN-27947 / ZDI-25-990.

Know when Openexr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (trendmicro) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

File-parsing RCE: AV:L because the victim must locally open the file, UI:R for that action, PR:N as no auth is needed, and heap-overflow code execution yields full C/I/A.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (trendmicro).

CVSS VectorVendor: trendmicro

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Academy Software Foundation OpenEXR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of EXR files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27947.

Executive ViewAI

Why It Matters

OpenEXR carries a high-severity code-execution exposure that can affect workstations and automated content services when crafted .exr files are opened, with the greatest business risk in media, design, and asset pipelines that routinely ingest external files. A successful incident could disrupt production, expose sensitive assets, or allow unauthorized code execution under the parsing account. No vendor-released patch identified at time of analysis, and no public exploit identified at time of analysis; leadership should prioritize untrusted-file intake controls and reduce automatic EXR processing while remediation is tracked.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis; restrict or disable automatic ingestion and thumbnail generation for untrusted .exr files, require manual review of external EXR assets, run parsing in a low-privilege sandbox or container, disable preview handlers where feasible, and quarantine or block external .exr files until a fixed OpenEXR release is available.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
core VFX/graphics image library, widely embedded but industry-specific
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*
CVE-2018-18444 HIGH POC
8.8 Oct 17

makeMultiView.cpp in exrmultiview in OpenEXR 2.3.0 has an out-of-bounds write, leading to an assertion failure or possib

CVE-2026-27622 HIGH POC
8.4 Mar 03

Out-of-bounds heap write in OpenEXR's CompositeDeepScanLine::readPixels lets a crafted multi-part deep-scanline EXR file

CVE-2017-12596 HIGH POC
7.8 Aug 07

In OpenEXR 2.2.0, a crafted image causes a heap-based buffer over-read in the hufDecode function in IlmImf/ImfHuf.cpp du

CVE-2026-26981 MEDIUM POC
6.5 Feb 24

OpenEXR versions 3.3.0-3.3.6 and 3.4.0-3.4.4 are vulnerable to a heap buffer overflow in file parsing due to improper in

CVE-2021-3598 MEDIUM POC
5.5 Jul 06

There's a flaw in OpenEXR's ImfDeepScanLineInputFile functionality in versions prior to 3.0.5. Rated medium severity (CV

CVE-2020-16589 MEDIUM POC
5.5 Dec 09

A head-based buffer overflow exists in Academy Software Foundation OpenEXR 2.3.0 in writeTileData in ImfTiledOutputFile.

CVE-2020-16588 MEDIUM POC
5.5 Dec 09

A Null Pointer Deference issue exists in Academy Software Foundation OpenEXR 2.3.0 in generatePreview in makePreview.cpp

CVE-2020-16587 MEDIUM POC
5.5 Dec 09

A heap-based buffer overflow vulnerability exists in Academy Software Foundation OpenEXR 2.3.0 in chunkOffsetReconstruct

CVE-2020-11765 MEDIUM POC
5.5 Apr 14

An issue was discovered in OpenEXR before 2.4.1. Rated medium severity (CVSS 5.5), this vulnerability is no authenticati

CVE-2020-11764 MEDIUM POC
5.5 Apr 14

An issue was discovered in OpenEXR before 2.4.1. Rated medium severity (CVSS 5.5), this vulnerability is no authenticati

CVE-2020-11763 MEDIUM POC
5.5 Apr 14

An issue was discovered in OpenEXR before 2.4.1. Rated medium severity (CVSS 5.5), this vulnerability is no authenticati

CVE-2020-11762 MEDIUM POC
5.5 Apr 14

An issue was discovered in OpenEXR before 2.4.1. Rated medium severity (CVSS 5.5), this vulnerability is no authenticati

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy