Skip to main content

OpenEXR CVE-2025-12840

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 via web or file share
  2. Delivery
    User opens file in OpenEXR-backed app
  3. Exploit
    Oversized data copied to heap buffer
  4. Execution
    Trigger heap buffer overflow in parser
  5. Impact
    Execute arbitrary code as current user

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 an attacker-crafted EXR file (or load a page/asset that causes an application to parse one) using software built on the OpenEXR library; the specific trigger is OpenEXR's failure to validate the length of user-supplied data before copying it into a heap buffer during EXR parsing. Limiting factors: user interaction is mandatory (UI:R) - there is no server-side or network-automatic path - and the vector is local (AV:L), so an attacker cannot reach a victim without getting them to process a malicious file. No authentication or special privileges are required of the attacker (PR:N). Realistic exposure is concentrated in VFX/rendering/image-processing workflows and any application that auto-ingests untrusted .exr files.

Impact

This is a genuine but not emergency-grade priority. The CVSS 3.0 base score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects a classic client-side file-parsing memory-corruption flaw: no privileges needed (PR:N) and low complexity (AC:L), but the vector is Local (AV:L) and requires user interaction (UI:R), meaning the victim must open a malicious EXR file or visit a page that triggers parsing. Note the apparent tension flagged by the description: it labels this 'Remote Code Execution' and references 'remote attackers,' yet the CVSS vector is AV:L - this is consistent with ZDI's standard modeling of file-format bugs, where delivery is remote (download/web) but exploitation is local because it depends on the target opening the content; the attack is not network-reachable or server-side. Corroborating signals point to lower real-world urgency: EPSS is only 0.19% (9th percentile), the CVE is NOT on CISA KEV, and no public exploit code is indicated in the provided data. Impact is high (C:H/I:H/A:H, code execution in the context of the parsing process), so the ceiling is serious, but absence of active exploitation and the user-interaction requirement place this as a standard patch-cycle item rather than an out-of-band emergency - prioritize for software bundling OpenEXR that routinely ingests untrusted .exr files.

Exploit ScenarioDerived

An attacker crafts a malicious EXR image with a manipulated length field and delivers it via a website, email attachment, or shared asset. When a user opens the file in an application built on OpenEXR, the parser copies oversized user-supplied data into an undersized heap buffer, corrupting memory and enabling arbitrary code execution in the context of that process. No public exploit code is identified at time of analysis, but the flaw was reported through ZDI (ZDI-25-991) with technical detail.

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 the Academy Software Foundation's OpenEXR library allows an attacker to execute arbitrary code in the context of the process that parses a crafted .exr file, but only after the victim opens the file or loads an asset that triggers EXR parsing. The attack vector is local and user interaction is mandatory (CVSS:3.1/AV:L/AC:L/PR:N/UI:R), so there is no server-side or network-automatic path; realistic exposure is limited to VFX, rendering, image-processing, and other workflows that auto-ingest untrusted EXR content. No public exploit code was identified at time of analysis and no CISA KEV entry exists, while EPSS is very low at 0.19% (9th percentile), making this a genuine but not emergency-grade priority.

RemediationAI

No vendor-released patch was identified in the available data at time of analysis, so remediation must begin with confirming a fixed OpenEXR release with the project (Academy Software Foundation) and the ZDI advisory at https://www.zerodayinitiative.com/advisories/ZDI-25-991/, then upgrading every application, plugin, and render node that links OpenEXR rather than only the library package. Until a fixed version is confirmed, apply specific compensating controls: block automatic parsing of untrusted .exr files (disable EXR thumbnailing, preview generation, watch-folder ingestion, and web upload paths that hand files directly to OpenEXR) and require manual review of EXR assets, accepting the workflow slowdown this introduces; run EXR parsing in a sandboxed, low-privilege worker or container with no access to credentials, render farm control planes, or production storage, accepting the added operational complexity; and where feasible gate EXR ingestion behind a converter that runs with seccomp/AppArmor confinement and memory-safety mitigations (ASan-instrumented builds in test pipelines), accepting reduced throughput. Because exploitation requires user interaction and a local vector, user awareness about opening unsolicited .exr files is a useful secondary control but cannot replace fixing the parser.

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 the Academy Software Foundation's reference implementation of the EXR high-dynamic-range image format, widely embedded in VFX pipelines, renderers, compositors, and image-conversion tools. The flaw is CWE-122 (heap-based buffer overflow): during EXR parsing, user-supplied length data is not validated before it is copied into a heap-allocated buffer, so a malicious file can cause an out-of-bounds write on the heap and, with careful layout control, redirect execution. The CPE cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* identifies the OpenEXR library itself as the affected component without pinning a specific version range, and the ZDI advisory (ZDI-25-991 / ZDI-CAN-27948) attributes the finding to Trend Micro's Zero Day Initiative. Because the vulnerable code is a library, the blast radius extends to any application linked against OpenEXR that parses untrusted .exr files, and the practical attack surface is file-parsing rather than a network service. The assessed CVSS:3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) confirms that exploitation requires local file delivery plus user interaction, and that a successful trigger yields high confidentiality, integrity, and availability impact within the parsing process.

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 needing no privileges (PR:N) but mandatory user action to open the file, hence AV:L and UI:R; memory corruption yields full code execution, so C/I/A all High.

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:A/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-27948.

Executive ViewAI

Why It Matters

OpenEXR, a library used in VFX, rendering, and image-processing workflows, contains a heap-based buffer overflow that can allow arbitrary code execution in the parsing process when a user opens a crafted .exr file. Exposure is limited to local, user-interaction scenarios involving untrusted EXR content, but affected teams could face workstation compromise and pipeline disruption; no public exploit has been identified and no vendor patch is currently available.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling auto-loading and thumbnailing of EXR files, sandboxing or isolating EXR parsing, restricting ingestion of untrusted .exr content, enforcing least privilege, and monitoring vendor advisories for a fixed OpenEXR release.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
widely-used image library in VFX/graphics pipelines, not everywhere
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