{"id":"CVE-2026-120252","published":"2026-11-01T00:57:15Z","modified":"2026-11-02T17:44:19Z","title":"imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode()","vendor":"cgohlke","product":"imagecodecs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00137,"percentile":0.0315,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/cgohlke/imagecodecs/issues/157","tags":["issue-tracking"]},{"url":"https://github.com/cgohlke/imagecodecs/blob/v2026.10.10/3rdparty/jpegsof3/jpegsof3.cpp#L394","tags":["technical-description"]},{"url":"https://github.com/cgohlke/imagecodecs","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/imagecodecs-2023.1.23-through-2026.10.10-stack-buffer-overflow-via-jpegsof3-decode","tags":["third-party-advisory"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":0.63},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"cgohlke","affectedVersions":[{"vendor":"cgohlke","product":"imagecodecs","versions":[">= 2023.1.23, <= 2026.10.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-02T17:04:10.719726Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-114749","exploited":false,"provenance":"source"}}