Integer Overflow or Wraparound Affecting openexr package, versions <0:3.1.1-2.el9_4.2


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL9-OPENEXR-16111458
  • published20 Apr 2026
  • disclosed3 Mar 2026

Introduced: 3 Mar 2026

CVE-2026-27622  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:9 openexr to version 0:3.1.1-2.el9_4.2 or higher.
This issue was patched in RHSA-2026:8871.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openexr package and not the openexr package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In CompositeDeepScanLine::readPixels, per-pixel totals are accumulated in vector<unsigned int> total_sizes for attacker-controlled large counts across many parts, total_sizes[ptr] wraps modulo 2^32. overall_sample_count is then derived from wrapped totals and used in samples[channel].resize(overall_sample_count). Decode pointer setup/consumption proceeds with true sample counts, and write operations in core unpack (generic_unpack_deep_pointers) overrun the undersized composite sample buffer. This vulnerability is fixed in v3.2.6, v3.3.8, and v3.4.6.

CVSS Base Scores

version 3.1