CVE Database›Document archive›CVE-2025-12495

CVE-2025-12495

OpenEXR: OpenEXR: Remote Code Execution via malicious EXR file parsing

Loading…

Severity

Important

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · December 24, 2025

Updated · July 9, 2026

Description

A flaw was found in OpenEXR, a library for handling High Dynamic Range (HDR) image files. This heap-based buffer overflow vulnerability allows a remote attacker to execute arbitrary code on a user's system. This occurs when a user is tricked into opening a specially crafted EXR file, exploiting a weakness in how the software processes image data. Successful exploitation could lead to complete control over the affected system.

Statement

This vulnerability is rated Important for Red Hat as it allows remote code execution when a user opens a specially crafted EXR file.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, users should exercise caution and avoid opening untrusted EXR files. As exploitation requires user interaction with a malicious file, preventing the opening of such files will prevent exploitation.

CVSS / CWE

CVSS 3.1 · 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CWE-122 · Heap-based Buffer Overflow