{"id":"CVE-2026-42217","summary":"OpenEXR: Shift exponent overflow in `readVariableLengthInteger()` (`ImfIDManifest.cpp`)","details":"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.","aliases":["GHSA-3c67-4wwp-w52m"],"modified":"2026-09-18T14:01:19.356609Z","published":"2026-05-07T04:04:54.736Z","related":["SUSE-SU-2026:21796-1","openSUSE-SU-2026:10772-1","openSUSE-SU-2026:20755-1"],"database_specific":{"cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42217.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-3c67-4wwp-w52m"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42217.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42217"},{"type":"FIX","url":"https://github.com/AcademySoftwareFoundation/openexr/commit/21eaa33bcbbb0c83a5fc42f6b6d65b70a996e63c"},{"type":"FIX","url":"https://github.com/AcademySoftwareFoundation/openexr/pull/2378"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/academysoftwarefoundation/openexr","events":[{"introduced":"0"},{"fixed":"97f56983d93adc6eb9e6789c144720224de48490"},{"introduced":"c7d3eac70ccde2c4ed484c6638b83ba872f71464"},{"fixed":"c949e9f7be387daeac44797e04b7e6951e583901"},{"introduced":"20a65852895894434bea88613f6d29ac8e88bd6e"},{"fixed":"d25e2a83b5a5f0eb9e350de8218fa27c348da203"},{"fixed":"21eaa33bcbbb0c83a5fc42f6b6d65b70a996e63c"}],"database_specific":{"cpe":"cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.2.9"},{"introduced":"3.3.0"},{"fixed":"3.3.11"},{"introduced":"3.4.0"},{"fixed":"3.4.11"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v3.4.11-rc2","v3.4.11-rc","v3.4.10-rc","v3.4.10","v3.3.10-rc2","v3.3.10","v3.2.8-rc","v3.2.8","v3.3.10-rc","v3.2.7-rc","v3.2.7","v3.3.9-rc2","v3.3.9","v3.4.9","v3.3.9-rc","v3.2.6-rc","v3.2.6","v3.3.8-rc","v3.3.8","v3.4.9-rc","v3.4.8-rc","v3.4.8","v3.4.7","v3.4.7-rc","v3.4.6","v3.4.6-rc","v3.2.5-rc","v3.2.5","v3.3.7-rc4","v3.3.7","v3.4.5","v3.4.5-rc","v3.3.7-rc3","v3.3.7-rc2","v3.3.7-rc","v3.3.6","v3.4.4-rc2","v3.4.4","v3.4.4-rc","v3.4.3-rc3","v3.4.3","v3.3.6-rc4","v3.3.6-rc3","v3.4.3-rc2","v3.2.4-rc2","v3.2.4","v3.3.6-rc2","v3.4.3-rc","v3.3.6-rc","v3.3.5","v3.4.2-rc2","v3.4.2","v3.4.2-rc","v3.4.1-rc2","v3.4.1","v3.4.1-rc","v3.4.0","v3.4-alpha","v3.3.5-rc3","v3.3.5-rc","v3.3.4-rc","v3.3.4","v3.3.3-rc1","v3.3.3","v3.3.3-rc","v3.3.2-rc4","v3.3.2","v3.3.2-rc3","v3.3.2-rc2","v3.3.2-rc","v3.3.1-rc","v3.3.1","v3.3.0-rc2","v3.3.0","v3.2.4-rc","v3.2.3-rc2","v3.2.3","v3.2.3-rc","v3.2.2","v3.2.2-rc2","v3.2.2-rc","v3.2.1-rc","v3.2.1","v3.2.0-rc4","v3.2.0","v3.2.0-rc3","v3.2.0-rc2","v3.2.0-rc","v3.0.0-beta","v2.5.0","v2.4.0","v2.4.0-beta.1","v2.3.0","v2.1.0","v2.0.1","v2.0.0.GM","v2.0.0","v1.7.1","OPENEXR_1_0_4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42217.json","vanir_signatures_modified":"2026-09-18T14:01:19Z","vanir_signatures":[{"digest":{"function_hash":"81636494508348657876740267326190103390","length":371},"id":"CVE-2026-42217-2ba597a4","signature_type":"Function","signature_version":"v1","source":"https://github.com/academysoftwarefoundation/openexr/commit/21eaa33bcbbb0c83a5fc42f6b6d65b70a996e63c","target":{"function":"readVariableLengthInteger","file":"src/lib/OpenEXR/ImfIDManifest.cpp"},"deprecated":false},{"target":{"file":"src/lib/OpenEXR/ImfIDManifest.cpp"},"deprecated":false,"digest":{"line_hashes":["60039115209891262420779978008541106169","70641904207419401553649938397230621031","302399310690812902795704952582823586763","61989877275112513110787511508790326174"],"threshold":0.9},"id":"CVE-2026-42217-d3793237","signature_type":"Line","signature_version":"v1","source":"https://github.com/academysoftwarefoundation/openexr/commit/21eaa33bcbbb0c83a5fc42f6b6d65b70a996e63c"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}