{"id":"CVE-2026-120252","aliases":["CVE-2026-120252"],"related":[],"kind":"vulnerability","state":"published","title":"imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-01T00:57:15.614Z","modified":"2026-11-02T19:14:53.030Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"type":"custom","introduced":"2023.1.23","lastAffected":"2026.10.10","status":"affected"}],"vendor":"cgohlke","product":"imagecodecs","repo":"https://github.com/cgohlke/imagecodecs","source":"cvelist"}],"references":[{"url":"https://github.com/cgohlke/imagecodecs/issues/157","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cgohlke/imagecodecs/blob/v2026.10.10/3rdparty/jpegsof3/jpegsof3.cpp#L394","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cgohlke/imagecodecs","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/imagecodecs-2023.1.23-through-2026.10.10-stack-buffer-overflow-via-jpegsof3-decode","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dilanka Kaushal Hewage (r3vpwnx)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-02T17:04:10.719Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120252","url":"https://www.cve.org/CVERecord?id=CVE-2026-120252","licence":"CVE Terms of Use","modified":"2026-11-02T17:44:19.013Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120252","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120252","licence":"Public domain","modified":"2026-11-02T19:14:53.030Z"}],"updatedAt":"2026-11-25T22:59:48.087Z","epss":{"score":0.00181,"percentile":0.08018,"date":"2026-12-02T12:00:21.000Z"}}