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

CVE-2025-12495 is fixed in 6 products on 1 platform, first by OPENSUSE-SU-2025:20148-1, released December 9, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-12495
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0019
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 9, 2025

## 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-27946.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | openexr Debian 14 | 3.4.6+ds-1 | [DEBIAN-CVE-2025-12495](https://patchblox.com/security/data/fix/linux/debian-cve-2025-12495.md) | Dec 23, 2025 |
| Linux | openexr amzn 2023 | 3.1.5-1.amzn2023.0.6 | [ALAS2023-2026-1364](https://patchblox.com/security/data/fix/linux/alas2023-2026-1364.md) | Jan 23, 2026 |
| Linux | openexr opensuse-leap 16.0 | 3.2.2-160000.4.1 | [OPENSUSE-SU-2025:20148-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-20148-1.md) | Dec 9, 2025 |
| Linux | openexr sles 16.0 | 3.2.2-160000.4.1 | [SUSE-SU-2025:21189-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-21189-1.md) | Dec 9, 2025 |
| Linux | openexr-debuginfo amzn 2023 | 3.1.5-1.amzn2023.0.6 | [ALAS2023-2026-1364](https://patchblox.com/security/data/fix/linux/alas2023-2026-1364.md) | Jan 23, 2026 |
| Linux | openexr-debugsource amzn 2023 | 3.1.5-1.amzn2023.0.6 | [ALAS2023-2026-1364](https://patchblox.com/security/data/fix/linux/alas2023-2026-1364.md) | Jan 23, 2026 |
| Linux | openexr-devel amzn 2023 | 3.1.5-1.amzn2023.0.6 | [ALAS2023-2026-1364](https://patchblox.com/security/data/fix/linux/alas2023-2026-1364.md) | Jan 23, 2026 |
| Linux | openexr-libs amzn 2023 | 3.1.5-1.amzn2023.0.6 | [ALAS2023-2026-1364](https://patchblox.com/security/data/fix/linux/alas2023-2026-1364.md) | Jan 23, 2026 |
| Linux | openexr-libs-debuginfo amzn 2023 | 3.1.5-1.amzn2023.0.6 | [ALAS2023-2026-1364](https://patchblox.com/security/data/fix/linux/alas2023-2026-1364.md) | Jan 23, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
