CVE-2025-12840: Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Dec 23, 2025
·
Updated

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

3 affected components
Academy Software Foundation OpenEXR
Academy Software Foundation OpenEXR
OpenEXR OpenEXR<3.4.3

Event History

Dec 23, 2025
CVE Published
via MITRE·09:41 PM
Data Sourced
via MITRE·09:41 PM
DescriptionSeverityWeakness
Advisory Published
via ZDI·09:49 PM
Data Sourced
via ZDI·09:49 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

What software is affected by CVE-2025-12840?

CVE-2025-12840 affects installations of the Academy Software Foundation OpenEXR software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203