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.

Project Subscriptions

Vendors Products
Cgohlke Subscribe
Imagecodecs Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 03 Nov 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Cgohlke
Cgohlke imagecodecs
Vendors & Products Cgohlke
Cgohlke imagecodecs

Tue, 03 Nov 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 02 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 01 Nov 2026 01:00:00 +0000

Type Values Removed Values Added
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.
Title imagecodecs 2023.1.23 through 2026.10.10 Stack Buffer Overflow via jpegsof3_decode()
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-02T17:44:19.013Z

Reserved: 2026-10-31T22:06:00.916Z

Link: CVE-2026-120252

cve-icon Vulnrichment

Updated: 2026-11-02T17:04:13.559Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-01T01:17:19.287

Modified: 2026-11-02T19:14:53.030

Link: CVE-2026-120252

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-01T00:57:15Z

Links: CVE-2026-120252 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T16:30:59Z

Weaknesses