CVE-2025-12840 json
Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
published 2025-12-23 10 mo ago modified 2026-10-19 20 d ago also EUVD-2025-204962 , JLSEC-2026-137
- cvss
- 7.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia OpenEXR_jll 3.4.4+0
- openexr openexr 3.4.3
- openexr Debian 14 3.4.6+ds-1
debian advisories DEBIAN-CVE-2025-12840
- openexr SLES for SAP applications 16.0, SLES 16.0 3.2.2-160000.4.1
suse advisories SUSE-SU-2025:21189-1
- openexr openSUSE Leap 16.0 3.2.2-160000.4.1
- openexr openSUSE Tumbleweed 3.4.3-2.1
opensuse advisories openSUSE-SU-2025:20148-1openSUSE-SU-2025:15759-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-12840 updated cvss 7.8
OpenEXR: OpenEXR: Remote Code Execution via EXR file parsing heap-based buffer overflow
-
Red Hat Enterprise Linux 6 OpenEXR, OpenEXR-libsaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 OpenEXR, OpenEXR-libs Red Hat Enterprise Linux 8 OpenEXR, OpenEXR-libs Red Hat Enterprise Linux 9 OpenEXR Red Hat Enterprise Linux 10 OpenEXRnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 10 mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | OpenEXR_jll | <3.4.4+0 |
3.4.4+0 |
Affected products
- Academy Software Foundation OpenEXR
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
References
-
zerodayinitiative.com
/advisories/ZDI-25-991/
third-party-advisory, web
Sources
- CVE List CVE-2025-12840
- NVD CVE-2025-12840
- OSV JLSEC-2026-137
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.