p PatchFirst

CVE-2025-64183

CVE-2025-64183 · OpenEXR has use after free in PyObject_StealAttrString

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.5 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • openexr

    Versions
    • >= 3.2.0, < 3.2.5: Affected
    • >= 3.3.0, < 3.3.6: Affected
    • >= 3.4.0, < 3.4.3: Affected

    No fix published

  • openexr PyPI

    Versions
    • 3.2.3
    • 3.2.4
    Affected ranges
    • ECOSYSTEM: ≥ 3.2.0, < 3.2.5

    Update to 3.2.5

  • openexr PyPI

    Versions
    • 3.3.0
    • 3.3.1
    • 3.3.2
    • 3.3.3
    • 3.3.4
    • 3.3.5
    Affected ranges
    • ECOSYSTEM: ≥ 3.3.0, < 3.3.6

    Update to 3.3.6

  • openexr PyPI

    Versions
    • 3.4.0
    • 3.4.1
    • 3.4.2
    Affected ranges
    • ECOSYSTEM: ≥ 3.4.0, < 3.4.3

    Update to 3.4.3

  • openexr PyPI

    Versions
    • 3.2.3
    • 3.2.4
    • 3.3.0
    • 3.3.1
    • 3.3.2
    • 3.3.3
    • 3.3.4
    • 3.3.5
    • 3.4.0
    • 3.4.1
    • 3.4.2
    Affected ranges
    • ECOSYSTEM: ≥ 3.2.0, < 3.2.5 ∪ ≥ 3.3.0, < 3.3.6 ∪ ≥ 3.4.0, < 3.4.3

    Update to 3.2.5; Update to 3.3.6; Update to 3.4.3

Original sources

Check your server →