CVE-2026-120252 imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode()
MediumCVSS 6.8
EPSS 0.14%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi imagecodecs | >= 2023.1.23, <= 2026.10.10 | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2564504 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product
- github.com technical-description
- GitHub Issue #157 issue-tracking
- VulnCheck Advisory: imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode() third-party-advisory