CVE-2025-12839: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-12839 is a heap-based buffer overflow vulnerability in Academy Software Foundation OpenEXR that allows remote attackers to execute arbitrary code on affected installations. The flaw exists within the parsing of EXR files, where insufficient validation of user-supplied data length before copying to a heap-based buffer enables exploitation. It affects all OpenEXR versions prior to 3.4.3. The vulnerability was reported to the vendor on 2025-09-25 and publicly disclosed on 2025-11-11 via a coordinated ZDI advisory, with NVD publication on 2025-12-23. It carries a CVSS v3.0 base score of 7.8 (High) (ZDI Advisory, Red Hat CVE).

Technical details

The root cause is classified as CWE-122 (Heap-based Buffer Overflow), arising from the lack of proper validation of the length of user-supplied data prior to copying it into a heap-based buffer during EXR file parsing. The attack vector is local (AV:L), requiring no privileges (PR:N) but necessitating user interaction — specifically, a target must open a malicious EXR file or visit a malicious page that triggers EXR parsing. An attacker who successfully exploits this flaw can execute arbitrary code in the context of the current process. The vulnerability was internally tracked as ZDI-CAN-27947 by Trend Micro's Zero Day Initiative (ZDI Advisory, Red Hat Bugzilla).

Impact

Successful exploitation allows an attacker to execute arbitrary code in the context of the process parsing the malicious EXR file, resulting in high impact to confidentiality, integrity, and availability. Any application that uses OpenEXR to process untrusted image files — including media production tools, image viewers, and rendering pipelines — is potentially affected. The vulnerability does not enable direct privilege escalation beyond the current process context, but could serve as an initial foothold for further lateral movement depending on the privileges of the affected application (ZDI Advisory, Red Hat CVE).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Red Hat CVE). The vulnerability was discovered and reported anonymously through the Zero Day Initiative bug bounty program. The EPSS score is approximately 0.042%, indicating a low near-term probability of exploitation. The CVE is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires user interaction, which somewhat limits opportunistic attack scenarios (ZDI Advisory).

Exploitation steps

  1. Craft a malicious EXR file: Create a specially crafted EXR image file containing a malformed data field with an oversized length value that bypasses input validation during parsing.
  2. Deliver the payload: Distribute the malicious EXR file via email attachment, file-sharing platform, or embed it in a web page that triggers automatic EXR rendering (e.g., via a browser plugin or web application using OpenEXR).
  3. Trigger user interaction: Convince the target user to open the malicious file using an application that relies on a vulnerable version of OpenEXR (prior to 3.4.3) for parsing.
  4. Trigger heap overflow: When the application parses the EXR file, the lack of length validation causes user-supplied data to overflow the heap-based buffer, corrupting adjacent heap memory.
  5. Achieve code execution: By controlling the overflow data, the attacker manipulates heap metadata or function pointers to redirect execution flow and run arbitrary code in the context of the vulnerable process (ZDI Advisory).

Indicators of compromise

  • File System: Unexpected or suspicious .exr files in user download directories, temporary folders, or email attachment staging areas; newly created or modified executables or scripts following EXR file access.
  • Process: Unusual child processes spawned by image-processing or media applications (e.g., bash, cmd.exe, powershell, curl, wget) immediately after opening an EXR file; crashes or abnormal termination of OpenEXR-linked applications.
  • Logs: Application crash logs or core dumps referencing heap corruption in OpenEXR parsing routines; OS-level fault logs (e.g., Windows Event ID 1000/1001 or Linux dmesg segfault entries) tied to EXR-processing applications.
  • Network: Unexpected outbound network connections from media or rendering applications following EXR file processing, potentially indicating a reverse shell or data exfiltration attempt.

Mitigation and workarounds

The vendor has released OpenEXR v3.4.3, which addresses this vulnerability. Users and administrators should upgrade to v3.4.3 or later as the primary remediation (ZDI Advisory). Patches are also available through downstream Linux distribution advisories, including Red Hat, Fedora, and SUSE (Red Hat CVE). As interim mitigations, organizations should restrict the opening of EXR files from untrusted sources, implement file validation before processing, and avoid exposing OpenEXR-based applications to untrusted user-supplied content. Splunk has also issued an advisory (SVD-2026-0309) for products bundling OpenEXR.

Community reactions

The vulnerability was disclosed through Trend Micro's Zero Day Initiative (ZDI-25-990) and credited to an anonymous researcher, with coordinated disclosure following a roughly 47-day embargo after the vendor report (ZDI Advisory). Red Hat tracked the issue via Bugzilla (Bug 2424741) and published a CVE advisory, and downstream distributions including Fedora and SUSE issued security updates for their OpenEXR packages. Splunk issued advisory SVD-2026-0309 for affected products. Community coverage has been limited to standard vulnerability aggregator sites and Linux distribution security mailing lists, with no notable social media controversy or researcher debate observed.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

openexr

Affected

sid

openexr: 3.4.6+ds-1

Fixed

trixie

openexr

Affected

Ubuntu

Affected

bionic (esm-infra)

openexr

Not Affected

devel

openexr

Affected

focal (esm-apps)

openexr

Not Affected

jammy

openexr

Not Affected

jammy (esm-apps)

openexr

Not Affected

noble

openexr

Affected

noble (esm-apps)

openexr

Affected

resolute

openexr

Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112940HIGH7.1
  • Python logoPython
  • py3-filelock
NoYesOct 20, 2026
CVE-2026-112937MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112936MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112939MEDIUM4.7
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112941LOW3.3
  • Python logoPython
  • filelock
NoYesOct 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management