ZDI-CAN-27948: 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-CAN-27948?
ZDI-CAN-27948 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix ZDI-CAN-27948?
To mitigate ZDI-CAN-27948, ensure you are running the latest version of Academy Software Foundation OpenEXR and apply all relevant security updates.
Who is affected by ZDI-CAN-27948?
ZDI-CAN-27948 affects all installations of Academy Software Foundation OpenEXR that have not been patched.
What are the implications of ZDI-CAN-27948?
Exploiting ZDI-CAN-27948 allows attackers to execute arbitrary code, potentially compromising the affected system.
What type of user interaction is required to exploit ZDI-CAN-27948?
Exploitation of ZDI-CAN-27948 requires the user to visit a malicious webpage or open a malicious file.