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-14724767
  • published30 Dec 2025
  • disclosed23 Dec 2025
  • creditUnknown

Introduced: 23 Dec 2025

CVE-2025-12495  (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 via generic_unpack. An attacker can achieve arbitrary code execution by tricking a user into opening a specially crafted EXR file that exploits improper validation of user-supplied data, leading to a heap-based buffer overflow.

Workaround

This vulnerability can be mitigated by exercising caution and avoiding the opening of untrusted EXR files.

CVSS Base Scores

version 4.0
version 3.1