CVE-2026-40250 OpenEXR has integer overflow in DWA decoder outBufferEnd pointer arithmetic (missed variant of CVE-2026-34589)

High 8.4 Published Updated

An integer overflow in the DWA decoder allows attackers to cause memory corruption or crashes via malicious EXR files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-40250?

CVE-2026-40250 is a high-severity vulnerability in Openexr Openexr, published on 21 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.4.0 through 3.4.9, 3.3.0 through 3.3.9, and 3.2.0 through 3.2.7, `internal_dwa_compressor.h:1040` performs `chan->width * chan->bytes_per_element` in `int32` arithmetic without a `(size_t)` cast. This is the same overflow pattern fixed in other decoders by CVE-2026-34589/34588/34544, but this line was missed. Versions 3.4.10, 3.3.10, and 3.2.8 contain a fix that addresses `internal_dwa_compressor.h:1040`.

Weakness: CWE-190

Which versions are affected by CVE-2026-40250?

It affects 1 product.

Products include Openexr Openexr.

How do I fix CVE-2026-40250?

Upgrade to a fixed version.

Is CVE-2026-40250 being exploited?

There is no known exploitation of CVE-2026-40250 in the wild and no public exploit code.

All Openexr Openexr vulnerabilities

Sources

Also known as BELL-CVE-2026-40250, DEBIAN-CVE-2026-40250, GHSA-m5qw-23x2-6phj, JLSEC-2026-808, ROOT-OS-DEBIAN-11-CVE-2026-40250, ROOT-OS-DEBIAN-12-CVE-2026-40250 and 2 more.

Is CVE-2026-40250 in your software?

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

Check your SBOMs for free