PyPI: openexr

CVE-2026-34544

Safety vulnerability ID: SFTY-20260403-78600

Safety legacy ID: pyup.io-91731

Affected versions of the openexr package are vulnerable to Out-of-bounds Write due to a signed integer overflow in the uncompress_b44_impl() function within internal_b44.c, where the row pointer arithmetic y * nx is computed using int types that overflow when the channel width is sufficiently large. The overflow causes the row pointers row0 through row3 to wrap to addresses before the scratch buffer, and subsequent memcpy() calls write decoded B44 pixel blocks to these invalid locations, producing a heap-based out-of-bounds write. An attacker can craft a malicious B44 or B44A EXR file that, when decoded via exr_decoding_run(), triggers a crash or potentially corrupts adjacent heap allocations.

Created at: Apr 7, 2026Updated at: Apr 7, 2026

Overview

OpenEXR: integer overflow to OOB write in uncompress_b44_impl()

Advisory

Affected versions of the openexr package are vulnerable to Out-of-bounds Write due to a signed integer overflow in the uncompress_b44_impl() function within internal_b44.c, where the row pointer arithmetic y * nx is computed using int types that overflow when the channel width is sufficiently large. The overflow causes the row pointers row0 through row3 to wrap to addresses before the scratch buffer, and subsequent memcpy() calls write decoded B44 pixel blocks to these invalid locations, producing a heap-based out-of-bounds write. An attacker can craft a malicious B44 or B44A EXR file that, when decoded via exr_decoding_run(), triggers a crash or potentially corrupts adjacent heap allocations.

Affected Package

Affecting openexr package, versions
>=3.2.0,<=3.2.6
>=3.3.0,<=3.3.8
>=3.4.0,<=3.4.7

Also affects

---

How to Fix

Upgrade
openexr
to
3.2.7
3.3.9
3.4.8
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more