ZDI-25-991: 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.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2025-12840.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-991?
The severity of ZDI-25-991 is considered high due to its potential for remote code execution.
How do I fix ZDI-25-991?
To fix ZDI-25-991, update Academy Software Foundation OpenEXR to the latest version that addresses this vulnerability.
Who is affected by ZDI-25-991?
The vulnerability ZDI-25-991 affects installations of Academy Software Foundation OpenEXR.
What attack vector is used in ZDI-25-991?
ZDI-25-991 can be exploited through user interaction with a malicious webpage or file.
What types of attacks can ZDI-25-991 facilitate?
ZDI-25-991 can facilitate remote code execution attacks that allow attackers to run arbitrary code on affected systems.