Skip to content
OpenAdvisories
Medium · 5.5 CVE-2025-64183 EUVD-2025-50826GHSA-57cw-j6vp-2p9mPYSEC-2026-2844

OpenEXR has use after free in PyObject_StealAttrString

Published Nov 10, 2025 · Updated Nov 14, 2025 · 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.

Affected products

VendorProductAffectedFixed
AcademySoftwareFoundation openexr >= 3.2.0, < 3.2.5, >= 3.3.0, < 3.3.6, >= 3.4.0, < 3.4.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openexr 3.4.3-1.1 openSUSE-SU-2025:15741-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI openexr >= 3.2.0, < 3.2.5 3.2.5 GHSA-57cw-j6vp-2p9m
PyPI openexr >= 3.3.0, < 3.3.6 3.3.6 GHSA-57cw-j6vp-2p9m
PyPI openexr >= 3.4.0, < 3.4.3 3.4.3 GHSA-57cw-j6vp-2p9m
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 PYSEC-2026-2844

Advisories 1

References