CVE-2025-64183
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.
How to fix
- openexr openexr3.2.5, 3.3.6, 3.4.3 or later
- openexr3.2.5, 3.3.6, 3.4.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openexr openexr | 3.2.0 ≤ v < 3.2.5, 3.3.0 ≤ v < 3.3.6, 3.4.0 ≤ v < 3.4.3 | 3.2.5, 3.3.6, 3.4.3 |
| openexrPyPI | 3.2.0 ≤ v < 3.2.5, 3.3.0 ≤ v < 3.3.6, 3.4.0 ≤ v < 3.4.3 | 3.2.5, 3.3.6, 3.4.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.