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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120252.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2023.1.23"
},
{
"last_affected": "2026.10.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "2023.1.23"
},
{
"last_affected": "2026.10.10"
}
],
"source": "DESCRIPTION"
}
]
}