CVEscgohlkeCVE-2026-120252Published Nov 1, 00:57 · Updated Nov 1, 00:57 UTC
5.5
MediumCVSS 3.1 · from VulnCheck
CVE-2026-120252

imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode()

imagecodecs · Stack buffer overflow · CWE-121
Affectedimagecodecs
FixNo fix listed yet.
PublishedNov 1, 00:57 · VulnCheck
ScoredNov 1 · 5.5 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:04 UTC

What we know

No known exploitation. CISA KEV, checked 22:04 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs local access to the machine. CVSS: local.
Someone has to open, click or run something first. CVSS: user interaction required.
A successful attack can take the service down. CVSS impact.

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 VulnCheck

Affected and fixed versions

ProductAffectedFixed inimagecodecs2023.1.23 – 2026.10.10–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

GitHub Issue #157 · github.comissue trackinggithub.com/cgohlke/imagecodecs/blob/v2026.10.10/3rdparty/jpegsof3/jpegsof3.cpp#L394 · github.comtechnical descriptiongithub.com/cgohlke/imagecodecs · github.comproductVulnCheck Advisory: imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode() · vulncheck.comthird party advisory

Other CVEs in imagecodecs

All 1 →
5.5imagecodecs 2026.3.6 through 2026.10.10 Infinite Loop via ccittfax4_decode() · CVE-2026-120251Nov 1