Vulnerability · Published Nov 10, 2025 · Assigned by GitHub_M
CVE-2025-64182OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()
Medium 5.5
In plain English
A medium-severity buffer overflow in openexr from AcademySoftwareFoundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | openexr | 3.2.5 | GHSA-vh63-9mqx-wmjr |
| PyPI | openexr | 3.3.6 | GHSA-vh63-9mqx-wmjr |
| PyPI | openexr | 3.4.3 | GHSA-vh63-9mqx-wmjr |
| PyPI | openexr | 3.2.5, 3.3.6, 3.4.3 | PYSEC-2026-2851 |
| Ubuntu:24.04:LTS | openexr | no fix listed | UBUNTU-CVE-2025-64182 |
| Ubuntu:25.10 | openexr | no fix listed | UBUNTU-CVE-2025-64182 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | openexr | >= 3.2.0, < 3.2.5>= 3.3.0, < 3.3.6>= 3.4.0, < 3.4.3 |
Weakness: CWE-120 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P