CVE-2026-120252Published Nov 1, 2026 · Nov 1Updated Nov 4
cgohlke imagecodecs denial of service in lossless JPEG Huffman parsing
cgohlke imagecodecs
Medium6.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cgohlke imagecodecs |
| No fix yet |
Original 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.
From the CVE record · VulnCheck