CVE-2026-26981
MEDIUM 6.5CVSS 3.1OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp
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.
- Published
- 24 Feb 2026
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-195
- Also known as
- GHSA-q6vj-wxvf-5m8cPYSEC-2026-2849
- Sources
- NVDJSONOSV GHSA-q6vj-wxvf-5m8cJSONOSV PYSEC-2026-2849JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openexr | openexrcpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* |
>= 3.3.0, < 3.3.7 | 3.3.7 |
| NVD | openexr | openexrcpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.5 | 3.4.5 |
| OSV | PyPI | openexr | >= 3.3.0, < 3.3.7 | 3.3.7 |
| OSV | PyPI | openexr | >= 3.4.0, < 3.4.5 | 3.4.5 |
| OSV | PyPI | openexr | >= 3.3.0, < 3.3.7; >= 3.4.0, < 3.4.5 | 3.3.7, 3.4.5 |
References
- https://github.com/AcademySoftwareFoundation/openexr/commit/6bb2ddf1068573d073edf81270a015b38cc05cef · Patch, WEB
- https://github.com/AcademySoftwareFoundation/openexr/commit/d2be382758adc3e9ab83a3de35138ec28d93ebd8 · Patch, WEB
- https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-q6vj-wxvf-5m8c · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-26981 · ADVISORY
- https://github.com/AcademySoftwareFoundation/openexr · PACKAGE
- https://pypi.org/project/openexr · PACKAGE
- https://github.com/advisories/GHSA-q6vj-wxvf-5m8c · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Apr 2026)