CVE-2026-26981
CVE-2026-26981 · OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.5 · Medium · EPSS 0.6% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
openexr
- Versions
- >= 3.3.0, < 3.3.7: Affected
- >= 3.4.0, < 3.4.5: Affected
No fix published
openexr PyPI
- Versions
- 3.3.0
- 3.3.1
- 3.3.2
- 3.3.3
- 3.3.4
- 3.3.5
- 3.3.6
- Affected ranges
- ECOSYSTEM: ≥ 3.3.0, < 3.3.7
Update to 3.3.7
openexr PyPI
- Versions
- 3.4.0
- 3.4.1
- 3.4.2
- 3.4.3
- 3.4.4
- Affected ranges
- ECOSYSTEM: ≥ 3.4.0, < 3.4.5
Update to 3.4.5
openexr PyPI
- Versions
- 3.3.0
- 3.3.1
- 3.3.2
- 3.3.3
- 3.3.4
- 3.3.5
- 3.3.6
- 3.4.0
- 3.4.1
- 3.4.2
- 3.4.3
- 3.4.4
- Affected ranges
- ECOSYSTEM: ≥ 3.3.0, < 3.3.7 ∪ ≥ 3.4.0, < 3.4.5
Update to 3.3.7; Update to 3.4.5
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-26981