6.2medium
OpenEXR: OpenEXRUtil SampleCountChannel endEdit() can loop forever on UINT_MAX sample counts
- Severity
- 6.2medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| AcademySoftwareFoundation openexr | < 3.2.10, >= 3.3.0, < 3.3.12, >= 3.4.0, < 3.4.13 | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
OpenEXR es la implementación de referencia y especificación para el formato de imagen EXR, ampliamente utilizado en la industria cinematográfica. Las versiones anteriores a la 3.2.10, 3.3.12 y 3.4.13 contienen una vulnerabilidad de bucle infinito en SampleCountChannel. La función auxiliar roundListSizeUp() redondea el tamaño de una lista de muestras a la siguiente potencia de dos utilizando desplazamientos a la izquierda sin signo repetidos, lo que termina para valores normales pero falla para UINT_MAX: la secuencia alcanza 0x80000000, y el siguiente desplazamiento a la izquierda envuelve el valor de 32 bits a 0. Debido a que 0 permanece menor que UINT_MAX, el bucle nunca progresa y nunca sale. El error es alcanzable a través de las API públicas de OpenEXRUtil, ya sea editando el búfer de recuento de muestras a través de SampleCountChannel::Edit (cuando destructor llama a endEdit()) o llamando a SampleCountChannel::set(x, y, UINT_MAX) en un píxel válido. Este problema ha sido solucionado en las versiones 3.2.10, 3.3.12 y 3.4.13.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55373 changed 2026-08-25 | CVE Terms of Use |
| NVD | CVE-2026-55373 changed 2026-10-12 | Public domain |