CVE-2025-64183
MEDIUM 5.5CVSS 4.0OpenEXR has use after free in PyObject_StealAttrString
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.
- Published
- 10 Nov 2025
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-416
- Also known as
- GHSA-57cw-j6vp-2p9mPYSEC-2026-2844
- Sources
- NVDJSONOSV GHSA-57cw-j6vp-2p9mJSONOSV PYSEC-2026-2844JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.5 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openexr | openexrcpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* |
>= 3.2.0, < 3.2.5 | 3.2.5 |
| NVD | openexr | openexrcpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* |
>= 3.3.0, < 3.3.6 | 3.3.6 |
| NVD | openexr | openexrcpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.3 | 3.4.3 |
| OSV | PyPI | openexr | >= 3.2.0, < 3.2.5 | 3.2.5 |
| OSV | PyPI | openexr | >= 3.3.0, < 3.3.6 | 3.3.6 |
| OSV | PyPI | openexr | >= 3.4.0, < 3.4.3 | 3.4.3 |
| OSV | PyPI | openexr | >= 3.2.0, < 3.2.5; >= 3.3.0, < 3.3.6; >= 3.4.0, < 3.4.3 | 3.2.5, 3.3.6, 3.4.3 |
References
- https://github.com/AcademySoftwareFoundation/openexr/blob/b3a19903db0672c63055023aa788e592b16ec3c5/src/wrappers/python/PyOpenEXR_old.cpp#L109-L115 · Product, WEB
- https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-57cw-j6vp-2p9m · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-64183 · ADVISORY
- https://github.com/AcademySoftwareFoundation/openexr · PACKAGE
- https://pypi.org/project/openexr · PACKAGE
- https://github.com/advisories/GHSA-57cw-j6vp-2p9m · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 10 Nov 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Apr 2026)