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

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 14% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-10T21:27:21.176Z
- Modified: 2026-07-13T16:43:06.203Z
- Also known as: GHSA-vh63-9mqx-wmjr, PYSEC-2026-2851
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation openexr: >= 3.2.0, < 3.2.5; >= 3.3.0, < 3.3.6; >= 3.4.0, < 3.4.3
- openexr (PyPI): from 3.2.0 before 3.2.5; from 3.3.0 before 3.3.6; from 3.4.0 before 3.4.3
- openexr openexr: from 3.2.0 before 3.2.5; from 3.3.0 before 3.3.6; from 3.4.0 before 3.4.3

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `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`
- GitHub: CVSS:3.1 7.8 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-vh63-9mqx-wmjr> (exploit, vendor-advisory, web)
- <https://github.com/AcademySoftwareFoundation/openexr/blob/b3a19903db0672c63055023aa788e592b16ec3c5/src/wrappers/python/PyOpenEXR_old.cpp#L528-L536> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64182> (advisory)
- <https://github.com/AcademySoftwareFoundation/openexr> (package)
- <https://pypi.org/project/openexr> (package)
- <https://github.com/advisories/GHSA-vh63-9mqx-wmjr> (advisory)

## Sources

- CVE List: [CVE-2025-64182](https://www.cve.org/CVERecord?id=CVE-2025-64182), CVE Terms of Use, modified 2025-11-14
- GitHub Advisory Database: [GHSA-vh63-9mqx-wmjr](https://github.com/advisories/GHSA-vh63-9mqx-wmjr), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2025-64182](https://nvd.nist.gov/vuln/detail/CVE-2025-64182), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2851](https://osv.dev/vulnerability/PYSEC-2026-2851), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2025-64182 · Whole record: https://cve.day/CVE-2025-64182.json · Rebuilt by cve.day 2026-11-25T22:59:07.416Z
