OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-64182
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 00:42 UTC · Revision 1
Source evidence
OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()
core-osv · Original sourcePublished 10 Nov 2025, 21:27 UTC
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.
osv:CVE-2025-64182
Complete source record
{
"id": "524a89b1e09c5de98772af58d2f2f53dce4721197203ad9369057dbf5708f10f",
"url": "https://osv.dev/vulnerability/CVE-2025-64182",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()",
"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.",
"evidence": "osv:CVE-2025-64182",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-64182",
"aliases": [
"CVE-2025-64182",
"GHSA-vh63-9mqx-wmjr",
"PYSEC-2026-2851"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/academysoftwarefoundation/openexr",
"type": "GIT",
"events": [
{
"introduced": "456bf42dc2fddb647c0e9ab911656e5cf757fc36"
},
{
"fixed": "59fe81b806151d870648f702442b83730e6e6473"
},
{
"introduced": "c7d3eac70ccde2c4ed484c6638b83ba872f71464"
},
{
"fixed": "027f33284f146d91bf983a58c8ea50c36154f339"
},
{
"introduced": "20a65852895894434bea88613f6d29ac8e88bd6e"
},
{
"fixed": "042c83d28dc8ad754f970800a651509ca61a0570"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2.0"
},
{
"fixed": "3.2.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.3.0"
},
{
"fixed": "3.3.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.4.0"
},
{
"fixed": "3.4.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.3.6-rc4",
"v3.3.6-rc3",
"v3.4.3-rc2",
"v3.2.4-rc2",
"v3.2.4",
"v3.3.6-rc2",
"v3.4.3-rc",
"v3.3.6-rc",
"v3.3.5",
"v3.4.2-rc2",
"v3.4.2",
"v3.4.2-rc",
"v3.4.1-rc2",
"v3.4.1",
"v3.4.1-rc",
"v3.4.0",
"v3.3.5-rc3",
"v3.3.5-rc",
"v3.3.4-rc",
"v3.3.4",
"v3.3.3-rc1",
"v3.3.3",
"v3.3.3-rc",
"v3.3.2-rc4",
"v3.3.2",
"v3.3.2-rc3",
"v3.3.2-rc2",
"v3.3.2-rc",
"v3.3.1-rc",
"v3.3.1",
"v3.3.0-rc2",
"v3.3.0",
"v3.2.4-rc",
"v3.2.3-rc2",
"v3.2.3",
"v3.2.3-rc",
"v3.2.2",
"v3.2.2-rc2",
"v3.2.2-rc",
"v3.2.1-rc",
"v3.2.1",
"v3.2.0-rc4",
"v3.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64182.json"
}
}
],
"modified": "2026-10-28T02:30:48.344187975Z",
"provider": "osv",
"references": [
"https://github.com/AcademySoftwareFoundation/openexr/blob/b3a19903db0672c63055023aa788e592b16ec3c5/src/wrappers/python/PyOpenEXR_old.cpp#L528-L536",
"https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-vh63-9mqx-wmjr",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64182.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-64182"
],
"provider_metadata": {
"cwe_ids": [
"CWE-120"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64182.json"
}
},
"related_cves": [
{
"value": "CVE-2025-64182",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516702,
"published_at": "2025-11-10T21:27:21.176+00:00"
}