CVEfocus › CVE database › CVE-2025-64183

CVE-2025-64183OpenEXR has use after free in PyObject_StealAttrString

CVSS 5.5 MediumEPSS 0.5% (higher than 33% of CVEs)Published 2025-11-10Updated 2025-11-14Assigner: GitHub_M

OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In versions 3.2.0 through 3.2.4, 3.3.0 through 3.3.5, and 3.4.0 through 3.4.2, there is a use-after-free in PyObject_StealAttrString of pyOpenEXR_old.cpp. The legacy adapter defines PyObject_StealAttrString that calls PyObject_GetAttrString to obtain a new reference, immediately decrefs it, and returns the pointer. Callers then pass this dangling pointer to APIs like PyLong_AsLong/PyFloat_AsDouble, resulting in a use-after-free. This is invoked in multiple places (e.g., reading PixelType.v, Box2i, V2f, etc.) Versions 3.2.5, 3.3.6, and 3.4.3 fix the issue.

CWE-416

What to do

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

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
16Not 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 25.10openexrNot affected
vulnerable_code_not_present
Red Hat Enterprise Linux 10openexrNot affected
Red Hat Enterprise Linux 10openexr-develNot affected
Red Hat Enterprise Linux 10openexr-libsNot affected
Red Hat Enterprise Linux 9openexrNot affected
Red Hat Enterprise Linux 9openexr-develNot affected
Red Hat Enterprise Linux 9openexr-libsNot 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 6OpenEXRNot affected
Red Hat Enterprise Linux 6OpenEXR-develNot affected
Red Hat Enterprise Linux 6OpenEXR-libsNot affected
PyPI libraryopenexrFixed3.4.3GHSA-57cw-j6vp-2p9m

What the vendor says

As published in the CVE record by GitHub_M, 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.