{"id":"CVE-2025-64182","published":"2025-11-10T21:27:21Z","modified":"2025-11-14T19:22:58Z","title":"OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()","vendor":"AcademySoftwareFoundation","product":"openexr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0026,"percentile":0.18077,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-vh63-9mqx-wmjr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/AcademySoftwareFoundation/openexr/blob/b3a19903db0672c63055023aa788e592b16ec3c5/src/wrappers/python/PyOpenEXR_old.cpp#L528-L536","tags":["x_refsource_MISC"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":3.62},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"academysoftwarefoundation","affectedVersions":[{"vendor":"AcademySoftwareFoundation","product":"openexr","versions":[">= 3.2.0, < 3.2.5",">= 3.3.0, < 3.3.6",">= 3.4.0, < 3.4.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-11-14T19:22:55.353355Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"OpenEXR","vulnerableRanges":[">=3.2.0, <3.2.5",">=3.3.0, <3.3.6",">=3.4.0, <3.4.3"],"patched":["3.2.5","3.3.6","3.4.3"],"from":["GHSA-vh63-9mqx-wmjr","PYSEC-2026-2851"],"provenance":"source"}],"summary":{"text":"A memory safety flaw in the legacy OpenEXR Python adapter, the deprecated OpenEXR.InputFile wrapper in the openexr product, lets integer overflow and unchecked allocation in InputFile.channel() and InputFile.channels() cause heap overflow on 32-bit builds or a NULL dereference on 64-bit builds. An attacker with local access can trigger this by getting a victim to open a crafted EXR file or pass a crafted Python object, with the likely outcome being a crash or possible code execution, and no authentication is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:38Z"},"euvd":{"id":"EUVD-2025-50827","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-48073","published":"2025-07-31","fixed":"3.3.3","kev":false},{"cve":"CVE-2025-48074","published":"2025-08-01","fixed":"3.3.3","kev":false},{"cve":"CVE-2025-64181","published":"2025-11-10","fixed":"3.4.3","kev":false},{"cve":"CVE-2025-64182","published":"2025-11-10","fixed":"3.4.3","kev":false},{"cve":"CVE-2025-64183","published":"2025-11-10","fixed":"3.4.3","kev":false},{"cve":"CVE-2026-26981","published":"2026-02-24","fixed":"3.4.5","kev":false},{"cve":"CVE-2026-27622","published":"2026-03-03","fixed":"3.4.6","kev":false,"link":{"from":"CVE-2025-64182","to":"CVE-2026-27622","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:OpenEXR","fromFixed":"3.2.5","toFixed":"3.2.6","daysApart":113}]}}],"package":"PyPI:OpenEXR"}}