Python Library OpenEXR 3.4.x < 3.4.12 Multiple Vulnerabilities

high Nessus Plugin ID 321448

Synopsis

A Python library installed on the remote host is affected by multiple vulnerabilities.

Description

The version of the OpenEXR Python package installed on the remote host is 3.4.x prior to 3.4.12. It is, therefore, affected by multiple vulnerabilities:

- An integer overflow in ht_undo_impl() in src/lib/OpenEXRCore/internal_ht.cpp leads to a heap-buffer-overflow when decoding a crafted HTJ2K-compressed EXR file. At line 188-189, decode->channels[i].width is multiplied by decode->channels[i].bytes_per_element in 32-bit signed arithmetic. When width >= 536870912 with FLOAT channels, the product exceeds INT32_MAX, causing signed integer overflow. The overflowed value is stored in raster_line_offset and later used as a pointer offset, resulting in an out-of-bounds write past the heap-allocated decompression buffer. (CVE-2026-44663)

- OpenEXR's HTJ2K decoder, ht_undo_impl() in OpenEXRCore, copies decoded pixels out of a per-line OpenJPH buffer using the EXR channel's declared width as the iteration count. The codestream embedded in the EXR chunk can declare different (smaller) tile/line dimensions than the EXR header advertises, but ht_undo_impl() does not validate this. A crafted EXR file produces a 4-byte heap-buffer-overflow READ immediately after a buffer allocated by ojph::local::codestream::finalize_alloc(). The result is a deterministic crash (DoS) and potential adjacent-heap leak. (CVE-2026-45696)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to OpenEXR version 3.4.12 or later.

See Also

http://www.nessus.org/u?79ebe56f

http://www.nessus.org/u?e0f5fa28

Plugin Details

Severity: High

ID: 321448

File Name: python_openexr_CVE-2026-44663.nasl

Version: 1.5

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 6/17/2026

Updated: 7/3/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.62

CVSS v2

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 5.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:C

CVSS Score Source: CVE-2026-44663

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.4

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.3

Threat Score: 7

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

CVSS Score Source: CVE-2026-45696

Vulnerability Information

CPE: cpe:/a:academysoftwarefoundation:openexr

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/25/2026

Vulnerability Publication Date: 5/25/2026

Reference Information

CVE: CVE-2026-44663, CVE-2026-45696

IAVA: 2026-A-0609