CVE-2025-12840: Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-12840?
CVE-2025-12840 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-12840?
To mitigate CVE-2025-12840, users should update to the latest version of Academy Software Foundation OpenEXR that addresses this vulnerability.
What type of attacks can exploit CVE-2025-12840?
CVE-2025-12840 can be exploited through heap-based buffer overflow attacks, allowing remote code execution.
Is user interaction required to exploit CVE-2025-12840?
Yes, user interaction is required for an attacker to exploit CVE-2025-12840, typically by opening a specially crafted EXR file.
What software is affected by CVE-2025-12840?
CVE-2025-12840 affects installations of the Academy Software Foundation OpenEXR software.