6.5Medium

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

AcademySoftwareFoundation openexr Published: (8 months ago)

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.

Weakness (CWE): CWE-195

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
AcademySoftwareFoundation openexr >= 3.3.0, < 3.3.7, >= 3.4.0, < 3.4.5
openexr openexr 3.3.0 – < 3.3.7

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* ≥ 3.3.0 < 3.3.7
  • cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* ≥ 3.4.0 < 3.4.5