OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
OpenEXRPyPI | >= 3.2.0, < 3.2.5 | 3.2.5 |
OpenEXRPyPI | >= 3.3.0, < 3.3.6 | 3.3.6 |
OpenEXRPyPI | >= 3.4.0, < 3.4.3 | 3.4.3 |
Affected products
3- ghsa-coords2 versions
>= 3.2.0, < 3.2.5+ 1 more
- (no CPE)range: >= 3.2.0, < 3.2.5
- (no CPE)range: < 3.4.3-1.1
- AcademySoftwareFoundation/openexrv5Range: >= 3.2.0, < 3.2.5
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-vh63-9mqx-wmjrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-64182ghsaADVISORY
- github.com/AcademySoftwareFoundation/openexr/blob/b3a19903db0672c63055023aa788e592b16ec3c5/src/wrappers/python/PyOpenEXR_old.cppghsax_refsource_MISCWEB
- github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-vh63-9mqx-wmjrghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.