Skip to content
OpenAdvisories
Medium · 5.5 CVE-2025-64182 EUVD-2025-50827GHSA-vh63-9mqx-wmjrPYSEC-2026-2851

OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()

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

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-vh63-9mqx-wmjr
PyPI openexr >= 3.3.0, < 3.3.6 3.3.6 GHSA-vh63-9mqx-wmjr
PyPI openexr >= 3.4.0, < 3.4.3 3.4.3 GHSA-vh63-9mqx-wmjr
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-2851

Advisories 1

References