Skip to content

CVE-2026-120252 imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode()

MediumCVSS 6.8 EPSS 0.14%
Published
Updated
Exploit status
No public exploit known

Description

imagecodecs 2023.1.23 through 2026.10.10 contains a stack-based buffer overflow vulnerability in the lossless JPEG Define Huffman Table parser in decode_jpegsof3(). Attackers can supply a crafted lossless JPEG whose DHT symbol counts wrap an 8-bit sum, overflowing the 32-entry HufVal and HufSz stack arrays and crashing the calling process.

Affected products

ProductAffected versionsFixed in
pypi imagecodecs >= 2023.1.23, <= 2026.10.10 No fix listed

References