5.5Medium

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

AcademySoftwareFoundation openexr Published: (1 year ago)

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.

Weakness (CWE): CWE-120

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
AcademySoftwareFoundation openexr >= 3.2.0, < 3.2.5, >= 3.3.0, < 3.3.6, >= 3.4.0, < 3.4.3
openexr openexr 3.2.0 – < 3.2.5

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* ≥ 3.2.0 < 3.2.5
  • cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* ≥ 3.3.0 < 3.3.6
  • cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* ≥ 3.4.0 < 3.4.3