Heap-based Buffer Overflow Affecting openexr package, versions [3.3.0,3.3.6)[3.4.2,3.4.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-OPENEXR-14724769
  • published30 Dec 2025
  • disclosed23 Dec 2025
  • creditUnknown

Introduced: 23 Dec 2025

CVE-2025-12839  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade openexr to version 3.3.6, 3.4.3 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in the parsing process of EXR files due to improper validation of user-supplied data length. An attacker can achieve arbitrary code execution by tricking a user into opening a specially crafted malicious EXR file.

Workaround

This vulnerability can be mitigated by exercising caution when handling untrusted EXR files and running applications that process EXR files within a sandboxed environment.

CVSS Base Scores

version 4.0
version 3.1