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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-24 · Modified: 2026-02-24
- Aliases: GHSA-q6vj-wxvf-5m8c, PYSEC-2026-2849, UBUNTU-CVE-2026-26981, CGA-6mrp-8982-8w7g, CGA-75x7-pj2x-rcw3, CGA-76rg-gqcx-9jpx, CGA-7p5f-3hx6-359j, CGA-7r86-qpc5-6pfc, CGA-85mw-4mwx-j558, CGA-863j-93jw-8336, CGA-9696-gr5x-j4r7, CGA-g85c-7vjj-ccfm, CGA-mqr3-qp2c-7x4h, CGA-r3rx-3vr2-4c92, CGA-r3xr-cvm7-vxvf, openSUSE-SU-2026:10272-1
- Record: https://cvemate.com/vulnerability/CVE-2026-26981 · JSON: https://cvemate.com/vulnerability/CVE-2026-26981/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.588%, percentile 49.548%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 21)

- academysoftwarefoundation openexr: ≥ 3.3.0, \< 3.3.7 \| ≥ 3.4.0, \< 3.4.5
- chainguard openexr (Chainguard): \< 3.4.5-r0
- chainguard openexr-dev (Chainguard): \< 3.4.5-r0
- chainguard openexr-doc (Chainguard): \< 3.4.5-r0
- chainguard openexr-libiex (Chainguard): \< 3.4.5-r0
- chainguard openexr-libilmthread (Chainguard): \< 3.4.5-r0
- chainguard openexr-libopenexr (Chainguard): \< 3.4.5-r0
- chainguard openexr-libopenexrcore (Chainguard): \< 3.4.5-r0
- chainguard openexr-libopenexrutil (Chainguard): \< 3.4.5-r0
- wolfi openexr (Wolfi): \< 3.4.5-r0
- wolfi openexr-dev (Wolfi): \< 3.4.5-r0
- wolfi openexr-doc (Wolfi): \< 3.4.5-r0
- wolfi openexr-libiex (Wolfi): \< 3.4.5-r0
- wolfi openexr-libilmthread (Wolfi): \< 3.4.5-r0
- wolfi openexr-libopenexr (Wolfi): \< 3.4.5-r0
- wolfi openexr-libopenexrcore (Wolfi): \< 3.4.5-r0
- wolfi openexr-libopenexrutil (Wolfi): \< 3.4.5-r0
- ubuntu openexr (Ubuntu): All versions (No fix recorded)
- openexr openexr: ≥ 3.3.0, \< 3.3.7 \| ≥ 3.4.0, \< 3.4.5
- PyPI openexr (PyPI): ≥ 3.3.0, \< 3.3.7 \| ≥ 3.4.0, \< 3.4.5

## References

- <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>
- <https://github.com/AcademySoftwareFoundation/openexr>
- <https://pypi.org/project/openexr>
- <https://github.com/advisories/GHSA-q6vj-wxvf-5m8c>
- <https://ubuntu.com/security/CVE-2026-26981>
- <https://www.cve.org/CVERecord?id=CVE-2026-26981>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26981.json>
- <https://www.suse.com/security/cve/CVE-2026-26981>

---

Data as of 2026-12-05T10:34:33.162Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
