CVSS 3.0
7.8 highCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.8) in openexr openexr. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2025-12840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-12840?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-12840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-12840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| openexr:openexr | before 3.4.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | openexr | no fix listed | DEBIAN-CVE-2025-12840 |
| Debian | 14 | openexr | 3.4.6+ds-1 | DEBIAN-CVE-2025-12840 |
| Ubuntu | 25.10, 26.10, Pro:26.04:LTS | openexr | no fix listed | UBUNTU-CVE-2025-12840 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | openexr | 3.2.2-160000.4.1 | SUSE-SU-2025:21189-1 |
| openSUSE | Leap 16.0 | openexr | 3.2.2-160000.4.1 | openSUSE-SU-2025:20148-1 |
| openSUSE | Tumbleweed | openexr | 3.4.3-2.1 | openSUSE-SU-2025:15759-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Important.
This vulnerability is rated Important for Red Hat products as it is a heap-based buffer overflow in OpenEXR that could lead to arbitrary code execution. Exploitation requires user interaction, specifically opening a malicious EXR file or visiting a malicious page. Red Hat products are affected if they process untrusted EXR files.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Users are advised to exercise caution when opening untrusted EXR files or visiting untrusted web pages.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | OpenEXR | Not affected | |
| Red Hat Enterprise Linux 6 | OpenEXR | Out of support scope | |
| Red Hat Enterprise Linux 7 | OpenEXR | Not affected | |
| Red Hat Enterprise Linux 8 | OpenEXR | Not affected | |
| Red Hat Enterprise Linux 9 | OpenEXR | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-12840.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.