Vulnerability · Published Nov 10, 2025 · Assigned by GitHub_M

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

Medium 5.5

In plain English

A medium-severity use-after-free in openexr from AcademySoftwareFoundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.5Medium
Exploit odds (30 days)0.3%top 74.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIopenexr3.2.5GHSA-57cw-j6vp-2p9m
PyPIopenexr3.3.6GHSA-57cw-j6vp-2p9m
PyPIopenexr3.4.3GHSA-57cw-j6vp-2p9m
PyPIopenexr3.2.5, 3.3.6, 3.4.3PYSEC-2026-2844
Ubuntu:24.04:LTSopenexrno fix listedUBUNTU-CVE-2025-64183
Ubuntu:25.10openexrno fix listedUBUNTU-CVE-2025-64183

Affected products (as reported)

VendorProductVersions
AcademySoftwareFoundation openexr >= 3.2.0, < 3.2.5>= 3.3.0, < 3.3.6>= 3.4.0, < 3.4.3

Weakness: CWE-416 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P

References