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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | openexr | 3.2.5 | GHSA-57cw-j6vp-2p9m |
| PyPI | openexr | 3.3.6 | GHSA-57cw-j6vp-2p9m |
| PyPI | openexr | 3.4.3 | GHSA-57cw-j6vp-2p9m |
| PyPI | openexr | 3.2.5, 3.3.6, 3.4.3 | PYSEC-2026-2844 |
| Ubuntu:24.04:LTS | openexr | no fix listed | UBUNTU-CVE-2025-64183 |
| Ubuntu:25.10 | openexr | no fix listed | UBUNTU-CVE-2025-64183 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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