CVE-2025-64182 OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-vh63-9mqx-wmjr exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/AcademySoftwareFoundation/openexr/blob/b3a19903db0672c63055023aa788e592b16ec3c5/src/wrappers/python/PyOpenEXR_old.cpp#L528-L536 product
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2025-64182 vendor-advisory