Skip to content

CVE-2025-64182 OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()

MediumCVSS 5.5 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Debian

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, a memory safety bug in the legacy OpenEXR Python adapter (the deprecated OpenEXR.InputFile wrapper) allow crashes and likely code execution when opening attacker-controlled EXR files or when passing crafted Python objects. Integer overflow and unchecked allocation in InputFile.channel() and InputFile.channels() can lead to heap overflow (32 bit) or a NULL deref (64 bit). Versions 3.2.5, 3.3.6, and 3.4.3 contain a patch for the issue.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
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 Fixed
pypi openexr(PyPI) = 3.2.3; = 3.2.4; = 3.3.0; = 3.3.1 +10 more 3.2.5, 3.3.6, 3.4.3 Fixed
AcademySoftwareFoundation openexr = >= 3.2.0, < 3.2.5; = >= 3.3.0, < 3.3.6; = >= 3.4.0, < 3.4.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi openexr(PyPI) >= 3.2.0, < 3.2.5 3.2.5
pypi openexr(PyPI) = 3.2.3 No fix listed
pypi openexr(PyPI) = 3.2.4 No fix listed
pypi openexr(PyPI) >= 3.3.0, < 3.3.6 3.3.6
pypi openexr(PyPI) = 3.3.0 No fix listed
pypi openexr(PyPI) = 3.3.1 No fix listed
pypi openexr(PyPI) = 3.3.2 No fix listed
pypi openexr(PyPI) = 3.3.3 No fix listed
pypi openexr(PyPI) = 3.3.4 No fix listed
pypi openexr(PyPI) = 3.3.5 No fix listed
pypi openexr(PyPI) >= 3.4.0, < 3.4.3 3.4.3
pypi openexr(PyPI) = 3.4.0 No fix listed
pypi openexr(PyPI) = 3.4.1 No fix listed
pypi openexr(PyPI) = 3.4.2 No fix listed
AcademySoftwareFoundation openexr = >= 3.2.0, < 3.2.5 No fix listed
AcademySoftwareFoundation openexr = >= 3.3.0, < 3.3.6 No fix listed
AcademySoftwareFoundation openexr = >= 3.4.0, < 3.4.3 No fix listed
openexr >= 3.2.0, < 3.2.5 3.2.5
openexr >= 3.3.0, < 3.3.6 3.3.6
openexr >= 3.4.0, < 3.4.3 3.4.3

References