CVEfocus › CVE database › CVE-2025-12495

CVE-2025-12495Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote…

CVSS 7.8 HighEPSS 0.3% (higher than 18% of CVEs)Published 2025-12-23Updated 2025-12-24Assigner: zdi

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.

CWE-122

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
4Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10openexrFix pendingUBUNTU-CVE-2025-12495
Ubuntu 26.04openexrFix pendingUBUNTU-CVE-2025-12495
Ubuntu 25.10openexrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-12495
Ubuntu 24.04openexrFix pendingUBUNTU-CVE-2025-12495
Debian 14openexrFixed3.4.6+ds-1DEBIAN-CVE-2025-12495
Debian 13openexrFix pendingDEBIAN-CVE-2025-12495
Debian 12openexrFix pendingDEBIAN-CVE-2025-12495
Red Hat Enterprise Linux 10OpenEXRNot affected
Red Hat Enterprise Linux 9OpenEXRNot affected
Red Hat Enterprise Linux 8OpenEXRNot affected
Red Hat Enterprise Linux 8OpenEXR-develNot affected
Red Hat Enterprise Linux 8OpenEXR-libsNot affected
Red Hat Enterprise Linux 7OpenEXRNot affected
Red Hat Enterprise Linux 7OpenEXR-develNot affected
Red Hat Enterprise Linux 7OpenEXR-libsNot affected
Red Hat Enterprise Linux 6OpenEXRWill not fix
Out of support scope
Red Hat Enterprise Linux 6OpenEXR-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6OpenEXR-libsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.