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

Introduced: 23 Dec 2025

CVE-2025-12840  (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 EXR file parsing process due to improper validation of user-supplied data length before copying it to a heap-based buffer. An attacker can execute arbitrary code in the context of the current process by tricking a user into opening a malicious EXR file or visiting a malicious web page.

CVSS Base Scores

version 4.0
version 3.1