Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-26981 EUVD-2026-7407GHSA-q6vj-wxvf-5m8cPYSEC-2026-2849

OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp

Published Feb 24, 2026 · Updated Feb 24, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
AcademySoftwareFoundation openexr >= 3.3.0, < 3.3.7, >= 3.4.0, < 3.4.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openexr 3.4.5-1.1 openSUSE-SU-2026:10272-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openexr +7 3.4.5-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI openexr >= 3.3.0, < 3.3.7 3.3.7 GHSA-q6vj-wxvf-5m8c
PyPI openexr >= 3.4.0, < 3.4.5 3.4.5 GHSA-q6vj-wxvf-5m8c
PyPI openexr >= 3.3.0, < 3.3.7 · >= 3.4.0, < 3.4.5 3.3.7, 3.4.5 PYSEC-2026-2849

Advisories 1

References