{"answers":{"affected":"5 open source packages ship an affected version, including openexr and OpenEXR. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-26981 exists.","fix":"Upgrade openexr to a fixed version for your release line: 3.3.7 or 3.4.5.","what":"CVE-2026-26981 is a medium-severity vulnerability in Openexr Openexr, published on 24 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-26981 and fix it if it is affected.\n\nWhat it is: CVE-2026-26981 is a medium-severity vulnerability in Openexr Openexr, published on 24 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-26981 exists.\n\nAffected packages and fixed versions:\n- openexr (PyPI): affected from 3.3.0; fixed in 3.3.7, 3.4.5\n- openexr (PyPI): affected from 3.3.0; fixed in 3.3.7\n- openexr (PyPI): affected from 3.4.0; fixed in 3.4.5\n- OpenEXR (PyPI): affected from 3.3.0; fixed in 3.3.7\n- OpenEXR (PyPI): affected from 3.4.0; fixed in 3.4.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-26981/ (Markdown: https://insights.sbomify.com/CVE-2026-26981/index.md)","id":"CVE-2026-26981","markdown":"https://insights.sbomify.com/CVE-2026-26981/index.md","name":"CVE-2026-26981","record":{"aliases":["GHSA-q6vj-wxvf-5m8c","JLSEC-2026-140","PYSEC-2026-2849","openSUSE-SU-2026:10272-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenEXR image library","requires_auth":"none","summary":"A signed integer underflow in OpenEXR leads to a heap buffer overflow when parsing malformed files, potentially causing crashes or data exposure.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openexr","vendor":"openexr"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-195","name":"Signed to Unsigned Conversion Error"}],"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.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp","id":"CVE-2026-26981","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"openexr:openexr","products":["openexr:openexr"],"type":"integer_overflow","year":"2026"},"n_packages":6,"n_references":3,"next":{"headline":"Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations","id":"CVE-2026-26982"},"packages":[{"ecosystem":"PyPI","fixed":["3.3.7"],"introduced":["3.3.0"],"last_affected":[],"package":"OpenEXR","purl":null,"source":"GHSA-q6vj-wxvf-5m8c"},{"ecosystem":"PyPI","fixed":["3.4.5"],"introduced":["3.4.0"],"last_affected":[],"package":"OpenEXR","purl":null,"source":"GHSA-q6vj-wxvf-5m8c"},{"ecosystem":"PyPI","fixed":["3.3.7","3.4.5"],"introduced":["3.3.0","3.4.0"],"last_affected":[],"package":"openexr","purl":"pkg:pypi/openexr","source":"PYSEC-2026-2849"},{"ecosystem":"PyPI","fixed":["3.3.7"],"introduced":["3.3.0"],"last_affected":[],"package":"openexr","purl":"pkg:pypi/openexr","source":"GHSA-q6vj-wxvf-5m8c"},{"ecosystem":"PyPI","fixed":["3.4.5"],"introduced":["3.4.0"],"last_affected":[],"package":"openexr","purl":"pkg:pypi/openexr","source":"GHSA-q6vj-wxvf-5m8c"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.4.5-1.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/opensuse/openexr\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10272-1"}],"prev":{"headline":"Ghost has a SQL Injection in its Content API","id":"CVE-2026-26980"},"products":["openexr"],"published":"2026-02-24","related":[{"cvss_score":9.1,"headline":"OpenEXR Heap Overflow in Scanline Deep Data Parsing","id":"CVE-2023-5841","kev_date_added":null,"published":"2024-02-01"},{"cvss_score":8.8,"headline":"OpenEXR is Vulnerable to Integer overflow in ImageChannel::resize leads to heap OOB write via OpenEXRUtil public API","id":"CVE-2026-41142","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":8.8,"headline":"OpenEXR: Out-of-bounds read in `IDManifest::init()` during prefix expansion","id":"CVE-2026-42216","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":8.8,"headline":"OpenEXR invalid write","id":"CVE-2017-9111","kev_date_added":null,"published":"2017-05-21"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2017-9113","kev_date_added":null,"published":"2017-05-21"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2017-9115","kev_date_added":null,"published":"2017-05-21"},{"cvss_score":8.7,"headline":"OpenEXR: Heap information disclosure in PXR24 decompression via unchecked decompressed size (undo_pxr24_impl)","id":"CVE-2026-34543","kev_date_added":null,"published":"2026-04-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-24","vendors":["AcademySoftwareFoundation"]},"summary":"A signed integer underflow in OpenEXR leads to a heap buffer overflow when parsing malformed files, potentially causing crashes or data exposure.","url":"https://insights.sbomify.com/CVE-2026-26981/"}