Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-120252 EUVD-2026-114749GHSA-89vm-wj4q-hr3r

imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode()

Published Nov 1, 2026 · Updated Nov 2, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
cgohlke imagecodecs 2023.1.23 – ≤ 2026.10.10 —

References