All vulnerabilities

PyPI

CVE-2026-120252

imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode()

Severity
Medium 6.8
Published
1 Nov 2026
Last changed
2 Nov 2026
Added to UpHeron
23 Nov 2026
Exploit chance
0.1% in the next 30 daysHigher than 3% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Stack-based buffer overflow (CWE-121)
Attack
Needs local access · No login needed · Needs someone to view a page or file
Attacker can
Take it down
CVSS 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
Sources
CVE Program

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 Program.

Affected software

SoftwareAffected versions
imagecodecsPyPI · osv:PyPI:imagecodecs
  • From 2023.1.23 up to 2026.10.10

About imagecodecs

Vulnerabilities in imagecodecs

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for imagecodecs

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120252