Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. OpenEXR
  4. ›
  5. CVE-2026-26981

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

April 6, 2026

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.

References

  • github.com/AcademySoftwareFoundation/openexr
  • github.com/AcademySoftwareFoundation/openexr/commit/6bb2ddf1068573d073edf81270a015b38cc05cef
  • github.com/AcademySoftwareFoundation/openexr/commit/d2be382758adc3e9ab83a3de35138ec28d93ebd8
  • github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-q6vj-wxvf-5m8c
  • github.com/advisories/GHSA-q6vj-wxvf-5m8c
  • nvd.nist.gov/vuln/detail/CVE-2026-26981

Code Behaviors & Features

Detect and mitigate CVE-2026-26981 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.3.0 before 3.3.7, all versions starting from 3.4.0 before 3.4.5

Fixed versions

  • 3.3.7
  • 3.4.5

Solution

Upgrade to versions 3.3.7, 3.4.5 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-195: Signed to Unsigned Conversion Error

Source file

pypi/OpenEXR/CVE-2026-26981.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.