Infinite Loop Vulnerability in imagecodecs by CGohlke
CVE-2026-120251
6.8MEDIUM
What is CVE-2026-120251?
The imagecodecs library versions 2026.3.6 through 2026.10.10 has a vulnerability that can lead to an infinite loop when the ccitt_fax4_decode_size() function is exploited. By providing a specially crafted CCITT Group 4 stream that lacks the End Of File Block (EOFB), attackers can cause the process to consume excessive CPU resources, potentially leading to a denial of service as the process becomes unresponsive. This highlights the importance of validating input streams to prevent such exploits.
Affected Version(s)
imagecodecs 2026.3.6 <= 2026.10.10
