CVE-2025-12840

Name
CVE-2025-12840
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
x_research-advisory https://www.zerodayinitiative.com/advisories/ZDI-25-991/

Match rules

CPE URI Source package Min version Max version
openexr == 3.4.0 == None
cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* openexr >= None < 3.4.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
openexr edge-community 3.4.4-r0 Théo Zanchi <theo.zanchi@gmail.com> possibly vulnerable
openexr edge-community 3.4.2-r0 Théo Zanchi <theo.zanchi@gmail.com> possibly vulnerable
openexr edge-community 3.3.2-r0 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr edge-community 3.1.13-r2 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr edge-community 3.1.13-r1 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr edge-community 3.1.13-r0 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr edge-community 3.1.12-r0 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr edge-community 3.1.4-r0 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr edge-community 3.1.1-r0 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr edge-community 2.5.5-r3 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr edge-community 2.5.4-r0 None possibly vulnerable
openexr edge-community 2.5.2-r0 None possibly vulnerable
openexr edge-community 2.4.1-r0 None possibly vulnerable
openexr edge-community 2.4.0-r0 None possibly vulnerable
openexr edge-community 2.2.1-r0 None possibly vulnerable
openexr 3.23-community 3.4.2-r0 Théo Zanchi <theo.zanchi@gmail.com> possibly vulnerable
openexr 3.22-community 3.3.2-r0 Mark Riedesel <mark+alpine@klowner.com> possibly vulnerable
openexr 3.22-community 3.1.12-r0 None possibly vulnerable
openexr 3.22-community 3.1.4-r0 None possibly vulnerable
openexr 3.22-community 3.1.1-r0 None possibly vulnerable
openexr 3.22-community 2.5.4-r0 None possibly vulnerable
openexr 3.22-community 2.5.2-r0 None possibly vulnerable
openexr 3.22-community 2.4.1-r0 None possibly vulnerable
openexr 3.22-community 2.4.0-r0 None possibly vulnerable
openexr 3.22-community 2.2.1-r0 None possibly vulnerable