CVE-2026-26981OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp
OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In versions 3.3.0 through 3.3.6 and 3.4.0 through 3.4.4, a heap-buffer-overflow (OOB read) occurs in the `istream_nonparallel_read` function in `ImfContextInit.cpp` when parsing a malformed EXR file through a memory-mapped `IStream`. A signed integer subtraction produces a negative value that is implicitly converted to `size_t`, resulting in a massive length being passed to `memcpy`. Versions 3.3.7 and 3.4.5 contain a patch.
What to do
Fixed builds are available from PyPI: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | openexr | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 10 | openexr | Not affected | ||
| Red Hat Enterprise Linux 10 | openexr-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | openexr-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | openexr | Not affected | ||
| Red Hat Enterprise Linux 9 | openexr-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | openexr-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | OpenEXR | Not affected | ||
| Red Hat Enterprise Linux 8 | OpenEXR-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | OpenEXR-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | OpenEXR | Not affected | ||
| Red Hat Enterprise Linux 7 | OpenEXR-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | OpenEXR-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | OpenEXR | Not affected | ||
| Red Hat Enterprise Linux 6 | OpenEXR-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | OpenEXR-libs | Not affected | ||
| PyPI library | openexr | Fixed | 3.4.5 | GHSA-q6vj-wxvf-5m8c |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- AcademySoftwareFoundation openexr: affected: >= 3.3.0, < 3.3.7, >= 3.4.0, < 3.4.5
References
- https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-q6vj-wxvf-5m8c
- https://github.com/AcademySoftwareFoundation/openexr/commit/6bb2ddf1068573d073edf81270a015b38cc05cef
- https://github.com/AcademySoftwareFoundation/openexr/commit/d2be382758adc3e9ab83a3de35138ec28d93ebd8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.