{"id":"CVE-2026-26981","published":"2026-02-24T02:26:16Z","modified":"2026-02-24T20:03:54Z","title":"OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp","vendor":"AcademySoftwareFoundation","product":"openexr","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00606,"percentile":0.43138,"provenance":"source"},"cwes":[{"id":"CWE-195","name":"Signed to Unsigned Conversion Error"}],"references":[{"url":"https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-q6vj-wxvf-5m8c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/AcademySoftwareFoundation/openexr/commit/6bb2ddf1068573d073edf81270a015b38cc05cef","tags":["x_refsource_MISC"]},{"url":"https://github.com/AcademySoftwareFoundation/openexr/commit/d2be382758adc3e9ab83a3de35138ec28d93ebd8","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":8.63},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"academysoftwarefoundation","affectedVersions":[{"vendor":"AcademySoftwareFoundation","product":"openexr","versions":[">= 3.3.0, < 3.3.7",">= 3.4.0, < 3.4.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-24T19:50:34.463990Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"OpenEXR","vulnerableRanges":[">=3.3.0, <3.3.7",">=3.4.0, <3.4.5"],"patched":["3.3.7","3.4.5"],"from":["GHSA-q6vj-wxvf-5m8c","PYSEC-2026-2849"],"provenance":"source"}],"summary":{"text":"The flaw is a heap-buffer-overflow (out-of-bounds read) in the istream_nonparallel_read function in ImfContextInit.cpp, part of the OpenEXR image format library, where a signed integer subtraction underflows and is implicitly converted to a size_t, causing memcpy to receive a huge length. An attacker can trigger it by getting a malformed EXR file parsed through a memory-mapped IStream, which requires user interaction (the victim must open or process the file) and no authentication or special network access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:07Z"},"euvd":{"id":"EUVD-2026-7407","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-64181","published":"2025-11-10","fixed":"3.4.3","kev":false,"link":{"from":"CVE-2025-64181","to":"CVE-2026-26981","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:OpenEXR","fromFixed":"3.3.6","toFixed":"3.3.7","daysApart":106}]}},{"cve":"CVE-2025-64182","published":"2025-11-10","fixed":"3.4.3","kev":false},{"cve":"CVE-2025-64183","published":"2025-11-10","fixed":"3.4.3","kev":false},{"cve":"CVE-2026-26981","published":"2026-02-24","fixed":"3.4.5","kev":false},{"cve":"CVE-2026-27622","published":"2026-03-03","fixed":"3.4.6","kev":false,"link":{"from":"CVE-2026-26981","to":"CVE-2026-27622","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:OpenEXR","fromFixed":"3.3.7","toFixed":"3.3.8","daysApart":7}]}},{"cve":"CVE-2026-34588","published":"2026-04-06","fixed":"3.4.9","kev":false},{"cve":"CVE-2026-34589","published":"2026-04-06","fixed":"3.4.9","kev":false}],"package":"PyPI:OpenEXR"}}