# CVE-2026-42217: OpenEXR: Shift exponent overflow in `readVariableLengthInteger()` (`ImfIDManifest.cpp`)

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-07T04:04:54.736Z
- Modified: 2026-10-26T19:10:00.163Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From versions 3.0.0 to before 3.2.9, 3.3.0 to before 3.3.11, and 3.4.0 to before 3.4.11, readVariableLengthInteger() decodes a variable-length integer from untrusted EXR input without bounding the shift count. After enough continuation bytes, the code executes a left shift by 70 on a 64-bit value, which is undefined behavior. This issue has been patched in versions 3.2.9, 3.3.11, and 3.4.11.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation openexr: >= 3.0.0, < 3.2.9; >= 3.3.0, < 3.3.11; >= 3.4.0, < 3.4.11
- openexr openexr: from 3.0.0 before 3.2.9; from 3.3.0 before 3.3.11; from 3.4.0 before 3.4.11

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-3c67-4wwp-w52m> (exploit, mitigation, vendor-advisory)
- <https://github.com/AcademySoftwareFoundation/openexr/pull/2378> (issue-tracking, patch)
- <https://github.com/AcademySoftwareFoundation/openexr/commit/21eaa33bcbbb0c83a5fc42f6b6d65b70a996e63c> (patch)

## Sources

- CVE List: [CVE-2026-42217](https://www.cve.org/CVERecord?id=CVE-2026-42217), CVE Terms of Use, modified 2026-05-07
- NVD: [CVE-2026-42217](https://nvd.nist.gov/vuln/detail/CVE-2026-42217), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42217 · Whole record: https://cve.day/CVE-2026-42217.json · Rebuilt by cve.day 2026-11-25T22:59:20.859Z
