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

Medium 6.3 Published Updated

An attacker can cause a denial of service by providing a crafted EXR file that triggers undefined behavior via an unbounded shift in the OpenEXR library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-42217?

CVE-2026-42217 is a medium-severity vulnerability in Openexr Openexr, published on 7 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-190

Which versions are affected by CVE-2026-42217?

It affects 1 product.

Products include Openexr Openexr.

How do I fix CVE-2026-42217?

Upgrade to a fixed version.

Is CVE-2026-42217 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42217 exists.

All Openexr Openexr vulnerabilities

Sources

Also known as BELL-CVE-2026-42217, DEBIAN-CVE-2026-42217, ECHO-e186-1aab-8c05, GHSA-3c67-4wwp-w52m, JLSEC-2026-811, ROOT-OS-DEBIAN-11-CVE-2026-42217 and 3 more.

Is CVE-2026-42217 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free