CVE-2025-64182CWE-120

OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()

Medium · published November 10, 2025

CVSS v4.0
5.5
EPSS
0%
Percentile
16.8
In the wild
Unconfirmed
What it is

⚠️ An old Python adapter is tripping over its own feet! In the legacy OpenEXR Python adapter, a memory safety bug could lead to crashes or even code execution when handling improperly crafted EXR files. 🔥 Think of a restaurant that serves gourmet dishes but accidentally leaves a dangerous allergen on the menu. A single wrong order could lead to chaos in the kitchen, just like a crafted EXR file can trigger unexpected behavior in your system. An attacker could exploit this vulnerability to crash the application or execute arbitrary code, potentially disrupting services or compromising sensitive data. It’s a medium risk, but still something worth keeping an eye on!

Put simply

Think of a restaurant that serves gourmet dishes but accidentally leaves a dangerous allergen on the menu. A single wrong order could lead to chaos in the kitchen, just like a crafted EXR file can trigger unexpected behavior in your system. This vulnerability stems from integer overflow and unchecked memory allocation in the OpenEXR Python adapter's InputFile.channel() and InputFile.channels() methods, which can lead to heap overflow or a NULL dereference depending on the architecture.

What to do

An attacker could exploit this vulnerability to crash the application or execute arbitrary code, potentially disrupting services or compromising sensitive data. It’s a medium risk, but still something worth keeping an eye on! To mitigate this, update your OpenEXR library to versions 3.2.5, 3.3.6, or 3.4.3, which contain the necessary patches. Be sure to monitor your application for any unusual behavior when handling EXR files in the meantime! You've got this! With a quick update, you'll keep your applications safe and sound. 🛡️

The record
Technical detail
CVSS v4.0
5.5 · MEDIUM
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
EPSS
0.00260 · 16.8th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2025-11-10T21:27Z
EPSS history
Timeline
  • 10 NOV 21:27Z
    OpenEXR has buffer overflow in PyOpenEXR_old's channels() and channel()
    cvelistv5