Vulnerability · Published May 7, 2026 · Assigned by GitHub_M
CVE-2026-42217OpenEXR: Shift exponent overflow in `readVariableLengthInteger()` (`ImfIDManifest.cpp`)
Medium 6.3
In plain English
A medium-severity integer overflow in openexr from AcademySoftwareFoundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | openexr | 3.3.11-r0 | ALPINE-CVE-2026-42217 |
| Alpine:v3.23 | openexr | 3.4.13-r0 | ALPINE-CVE-2026-42217 |
| Alpine:v3.24 | openexr | 3.4.11-r0 | ALPINE-CVE-2026-42217 |
| Debian:12 | openexr | no fix listed | DEBIAN-CVE-2026-42217 |
| Debian:13 | openexr | no fix listed | DEBIAN-CVE-2026-42217 |
| Debian:14 | openexr | 3.4.14-0.1 | DEBIAN-CVE-2026-42217 |
| Ubuntu:25.10 | openexr | no fix listed | UBUNTU-CVE-2026-42217 |
| Ubuntu:26.10 | openexr | no fix listed | UBUNTU-CVE-2026-42217 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | openexr | >= 3.0.0, < 3.2.9>= 3.3.0, < 3.3.11>= 3.4.0, < 3.4.11 |
Weakness: CWE-190 · Vector: 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
References
- https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-3c67-4wwp-w52m x_refsource_CONFIRM
- https://github.com/AcademySoftwareFoundation/openexr/pull/2378 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/openexr/commit/21eaa33bcbbb0c83a5fc42f6b6d65b70a996e63c x_refsource_MISC