6.2 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
OpenEXR: OpenEXRUtil SampleCountChannel endEdit() can loop forever on UINT_MAX sample counts
OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. Versions prior to 3.2.10, 3.3.12, and 3.4.13 contain an infinite-loop vulnerability in SampleCountChannel. The helper roundListSizeUp() rounds a sample-list size up to the next power of two using repeated unsigned left shifts, which terminates for normal values but fails for UINT_MAX: the sequence reaches 0x80000000, and the next left shift wraps the 32-bit value to 0. Because 0 remains less than UINT_MAX, the loop never progresses and never exits. The bug is reachable through public OpenEXRUtil APIs, either by editing the sample-count buffer through SampleCountChannel::Edit (whose destructor calls endEdit()) or by calling SampleCountChannel::set(x, y, UINT_MAX) on a valid pixel. This issue has been fixed in versions 3.2.10, 3.3.12, and 3.4.13.
References
-
https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-mff9-68x3-h8rh exploitx_refsource_CONFIRM
Affected products
- ==< 3.2.10
- ==>= 3.3.0, < 3.3.12
- ==>= 3.4.0, < 3.4.13
Matching in nixpkgs
pkgs.openexr
High dynamic-range (HDR) image file format
pkgs.openexrid-unstable
None
-
nixos-26.05 -
- nixos-26.05-small 2017-09-17
pkgs.python313Packages.openexr
Python bindings for the OpenEXR image file format
-
nixos-unstable -
- nixos-unstable-small 3.4.15
pkgs.python314Packages.openexr
Python bindings for the OpenEXR image file format
-
nixos-unstable -
- nixos-unstable-small 3.4.15
pkgs.haskellPackages.openexr-write
Library for writing images in OpenEXR HDR file format
Package maintainers
-
@paperdigits Mica Semrick <mica@silentumbrella.com>
-
@Ambossmann Timo Gottszky <timogottszky+git@gmail.com>