# CVE-2025-64183: OpenEXR has use after free in PyObject\_StealAttrString

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.48% (percentile 33, 2026-11-26)
- **CWE:** CWE-416
- **Aliases:** GHSA-57cw-j6vp-2p9m, PYSEC-2026-2844
- **Published:** 2025-11-10T21:29:54.234Z
- **Modified:** 2026-07-13T16:42:51.626Z

## Who should check

- Projects that depend on PyPI package openexr (\>= 3.2.0, \< 3.2.5)
- Anyone running AcademySoftwareFoundation openexr \>= 3.2.0, \< 3.2.5; \>= 3.3.0, \< 3.3.6; \>= 3.4.0, \< 3.4.3

## 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 and fixed versions

- PyPI `openexr`: affected \>= 3.2.0, \< 3.2.5; fixed 3.2.5, 3.3.6, 3.4.3 (osv)
- AcademySoftwareFoundation openexr: \>= 3.2.0, \< 3.2.5; \>= 3.3.0, \< 3.3.6; \>= 3.4.0, \< 3.4.3 (cvelist)

## Mitigation

- Upgrade openexr to one of 3.2.5, 3.3.6, 3.4.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-64183. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-64183.md
Affected: openexr >= 3.2.0, < 3.2.5
Fixed in: 3.2.5, 3.3.6, 3.4.3

Steps:
1. Search this machine and project for openexr (PyPI), AcademySoftwareFoundation openexr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-64183 being exploited?

There is no confirmed exploitation: CVE-2025-64183 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-64183?

Medium: CVSS 5.5 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-64183?

openexr \>= 3.2.0, \< 3.2.5.

### Is there a fix for CVE-2025-64183?

Yes. Fixed in 3.2.5, 3.3.6, 3.4.3. Upgrade openexr to one of 3.2.5, 3.3.6, 3.4.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-64183?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-57cw-j6vp-2p9m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-64183>
- vendor: <https://github.com/advisories/GHSA-57cw-j6vp-2p9m>
- other: <https://github.com/AcademySoftwareFoundation/openexr/blob/b3a19903db0672c63055023aa788e592b16ec3c5/src/wrappers/python/PyOpenEXR_old.cpp#L109-L115>
- other: <https://github.com/AcademySoftwareFoundation/openexr>
- other: <https://pypi.org/project/openexr>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-64183>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-57cw-j6vp-2p9m> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2844> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-64183> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-64183>
