OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AcademySoftwareFoundation | openexr | 3.2.0 to before 3.2.5; 3.3.0 to before 3.3.6; 3.4.0 to before 3.4.3 | 3.2.5, 3.3.6, 3.4.3 | Patch available | CNA |
| — | OpenEXR (PyPI) | 3.2.0 to before 3.2.5 | 3.2.5 | Patch available | GHSA-vh63-9mqx-wmjr |
| — | OpenEXR (PyPI) | 3.3.0 to before 3.3.6 | 3.3.6 | Patch available | GHSA-vh63-9mqx-wmjr |
| — | OpenEXR (PyPI) | 3.4.0 to before 3.4.3 | 3.4.3 | Patch available | GHSA-vh63-9mqx-wmjr |
- openexr VendorAcademySoftwareFoundation Affected 3.2.0 to before 3.2.5; 3.3.0 to before 3.3.6; 3.4.0 to before 3.4.3 Fixed in 3.2.5, 3.3.6, 3.4.3 Patch available CNA
- OpenEXR (PyPI) Vendor— Affected 3.2.0 to before 3.2.5 Fixed in 3.2.5 Patch available GHSA-vh63-9mqx-wmjr
- OpenEXR (PyPI) Vendor— Affected 3.3.0 to before 3.3.6 Fixed in 3.3.6 Patch available GHSA-vh63-9mqx-wmjr
- OpenEXR (PyPI) Vendor— Affected 3.4.0 to before 3.4.3 Fixed in 3.4.3 Patch available GHSA-vh63-9mqx-wmjr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* | 3.2.0 to before 3.2.5; 3.3.0 to before 3.3.6; 3.4.0 to before 3.4.3 | Vulnerable | Academy Software Foundation |
- cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* Versions 3.2.0 to before 3.2.5; 3.3.0 to before 3.3.6; 3.4.0 to before 3.4.3 Vulnerable ·Academy Software Foundation
Remediation
- Fix · CNA openexr (AcademySoftwareFoundation) Fixed in 3.2.5, 3.3.6, 3.4.3
- Fix · GHSA-vh63-9mqx-wmjr OpenEXR (PyPI) Fixed in 3.2.5 Advisory →
- Fix · GHSA-vh63-9mqx-wmjr OpenEXR (PyPI) Fixed in 3.3.6 Advisory →
- Fix · GHSA-vh63-9mqx-wmjr OpenEXR (PyPI) Fixed in 3.4.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64182
- 2026-10-03 Alias added: GHSA-vh63-9mqx-wmjr
References
Exploit 1
More AcademySoftwareFoundation vulnerabilities
- TI-2026-30739 OpenColorIO vulnerable to stack buffer overflow via unbounded `sscanf %s` in Spi3D (.spi3d) LUT parser CVSS 4.0HIGH 8.4
- TI-2026-38605 OpenEXR: Unhandled assert abort in HTJ2K decoder via crafted QCD marker (DoS) CVSS 4.0HIGH 7.1
- TI-2026-48281 OpenEXR: Heap out-of-bounds write in exrmultiview with subsampled channel union CVSS 3.1HIGH 7.1
- TI-2026-48279 OpenEXR: Heap buffer overflow in PyOpenEXR from literal/prefixed RGB channel name collision CVSS 3.1HIGH 7.1
- TI-2026-42768 OpenEXR: Heap OOB read in SampleCountChannel row when using nonzero dataWindow CVSS 3.1HIGH 7.1
- TI-2026-42338 OpenEXR: Out-of-bounds read in DeepImageChannel::row() for non-zero dataWindow origin CVSS 3.1HIGH 7.1
Sources
- CVE-2025-64182 · CVE Program
- CVE-2025-64182 · NVD
- FIRST EPSS
- GHSA-vh63-9mqx-wmjr · GitHub Advisory Database · CC BY 4.0
- CVE-2025-64182 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences