Skip to content

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

MediumCVSS 6.5 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
DebianRed Hat

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
openexr >= 3.3.0, < 3.3.7; >= 3.4.0, < 3.4.5 3.3.7, 3.4.5 Fixed
pypi openexr(PyPI) = 3.3.0; = 3.3.1; = 3.3.2; = 3.3.3 +10 more 3.3.7, 3.4.5 Fixed
AcademySoftwareFoundation openexr = >= 3.3.0, < 3.3.7; = >= 3.4.0, < 3.4.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
AcademySoftwareFoundation openexr = >= 3.3.0, < 3.3.7 No fix listed
AcademySoftwareFoundation openexr = >= 3.4.0, < 3.4.5 No fix listed
pypi openexr(PyPI) >= 3.3.0, < 3.3.7 3.3.7
pypi openexr(PyPI) = 3.3.0 No fix listed
pypi openexr(PyPI) = 3.3.1 No fix listed
pypi openexr(PyPI) = 3.3.2 No fix listed
pypi openexr(PyPI) = 3.3.3 No fix listed
pypi openexr(PyPI) = 3.3.4 No fix listed
pypi openexr(PyPI) = 3.3.5 No fix listed
pypi openexr(PyPI) = 3.3.6 No fix listed
pypi openexr(PyPI) >= 3.4.0, < 3.4.5 3.4.5
pypi openexr(PyPI) = 3.4.0 No fix listed
pypi openexr(PyPI) = 3.4.1 No fix listed
pypi openexr(PyPI) = 3.4.2 No fix listed
pypi openexr(PyPI) = 3.4.3 No fix listed
pypi openexr(PyPI) = 3.4.4 No fix listed
openexr >= 3.3.0, < 3.3.7 3.3.7
openexr >= 3.4.0, < 3.4.5 3.4.5

References