CVE-2025-12840
published 2025-12-23CVE-2025-12840: Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers…
PriorityP343high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
0.16%
6.0th percentile
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
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| academy_software_foundation | openexr | — | — |
| debian | openexr | < openexr 3.4.6+ds-1 (forky) | openexr 3.4.6+ds-1 (forky) |
| openexr | openexr | < 3.4.3 | 3.4.3 |
| openexr | openexr | >= 0 < 3.4.6+ds-1 | 3.4.6+ds-1 |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
OpenEXR: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow
vendor_redhat·2025-12-23·CVSS 7.8
CVE-2025-12840 [HIGH] CWE-122 OpenEXR: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow
OpenEXR: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow
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.
A flaw was found
Debian
CVE-2025-12840: openexr - Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow ...
vendor_debian·2025·CVSS 7.8
CVE-2025-12840 [HIGH] CVE-2025-12840: openexr - Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow ...
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.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 3.4.6+ds-1)
sid: resolved (fixed in 3.
GHSA
GHSA-2c96-hx44-wpwr: Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
ghsa_unreviewed·2025-12-24
CVE-2025-12840 [HIGH] CWE-122 GHSA-2c96-hx44-wpwr: 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.
OSV
CVE-2025-12840: Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
osv·2025-12-23·CVSS 7.8
CVE-2025-12840 [HIGH] 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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2025-12840 openexr2: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow [fedora-42]
bugzilla·2025-12-24·CVSS 7.8
CVE-2025-12840 [HIGH] CVE-2025-12840 openexr2: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow [fedora-42]
CVE-2025-12840 openexr2: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow [fedora-42]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams
Discussion:
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedor
Bugzilla
CVE-2025-12840 openexr: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow [fedora-42]
bugzilla·2025-12-24·CVSS 7.8
CVE-2025-12840 [HIGH] CVE-2025-12840 openexr: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow [fedora-42]
CVE-2025-12840 openexr: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow [fedora-42]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams
Discussion:
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora
Bugzilla
CVE-2025-12840 OpenEXR: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow
bugzilla·2025-12-23·CVSS 7.8
CVE-2025-12840 [HIGH] CVE-2025-12840 OpenEXR: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow
CVE-2025-12840 OpenEXR: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow
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.
Wiz
CVE-2025-12840 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 7.8
CVE-2025-12840 [HIGH] CVE-2025-12840 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2025-12840 :
NixOS vulnerability analysis and mitigation
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.
Source : NVD
## 7.8
Score
Publishe
2025-12-23
Published