CVE-2025-48071
Python vulnerability analysis and mitigation

Overview

OpenEXR, which provides the specification and reference implementation of the EXR file format for the motion picture industry, was found to contain a heap-based buffer overflow vulnerability (CVE-2025-48071). The vulnerability affects versions 3.3.0 through 3.3.2 and was discovered in July 2025. The issue occurs during a write operation when decompressing ZIPS-packed deep scan-line EXR files with a maliciously forged chunk header (GitHub Advisory, NVD).

Technical details

The vulnerability exists in the OpenEXRCore code, specifically in the undozipimpl function within src/lib/OpenEXRCore/internalzip.c. The function fails to validate whether the actual decompressed size (actualoutbytes) exceeds the allocated buffer size (uncompressedsize). When parsing STORAGEDEEPSCANLINE chunks, the code extracts chunk information including the unpackedsize, which is later used for buffer allocation. The vulnerability can be triggered by setting the unpackedsize in the chunk header smaller than the actual chunk decompressed data, leading to a buffer overflow in the internalzipreconstruct_bytes function. The vulnerability has been assigned a CVSS 4.0 Base Score of 8.4 (HIGH) with the vector string CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (GitHub Advisory).

Impact

An attacker can exploit this vulnerability by providing a maliciously crafted file to any program that uses the OpenEXR libraries. This could allow the attacker to write an arbitrary amount of bytes in the heap, potentially leading to code execution in the affected process (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in OpenEXR version 3.3.3. The fix involves adding a check in the undozipimpl function to verify that actualoutbytes does not exceed uncompressed_size (GitHub Commit, GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-66422MEDIUM4.3
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management