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

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-10T21:29:54.234Z
- Modified: 2026-07-13T16:42:51.626Z
- Also known as: GHSA-57cw-j6vp-2p9m, PYSEC-2026-2844
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation openexr: >= 3.2.0, < 3.2.5; >= 3.3.0, < 3.3.6; >= 3.4.0, < 3.4.3
- openexr (PyPI): from 3.2.0 before 3.2.5; from 3.3.0 before 3.3.6; from 3.4.0 before 3.4.3
- openexr openexr: from 3.2.0 before 3.2.5; from 3.3.0 before 3.3.6; from 3.4.0 before 3.4.3

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `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`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: 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`

## References

- <https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-57cw-j6vp-2p9m> (exploit, vendor-advisory, web)
- <https://github.com/AcademySoftwareFoundation/openexr/blob/b3a19903db0672c63055023aa788e592b16ec3c5/src/wrappers/python/PyOpenEXR_old.cpp#L109-L115> (product, 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)

## Sources

- CVE List: [CVE-2025-64183](https://www.cve.org/CVERecord?id=CVE-2025-64183), CVE Terms of Use, modified 2025-11-14
- GitHub Advisory Database: [GHSA-57cw-j6vp-2p9m](https://github.com/advisories/GHSA-57cw-j6vp-2p9m), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2025-64183](https://nvd.nist.gov/vuln/detail/CVE-2025-64183), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2844](https://osv.dev/vulnerability/PYSEC-2026-2844), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2025-64183 · Whole record: https://cve.day/CVE-2025-64183.json · Rebuilt by cve.day 2026-11-25T22:59:07.417Z
