Out-of-bounds read in DCMTK JPEG Huffman decoding
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
OFFIS DCMTK from 3.7.0 contains an out-of-bounds read (CWE-125) in the Huffman decoder of its bundled IJG JPEG libraries. Huffman symbol values are not range-checked by default, so a table with a difference category above 15 makes decoding read memory past the extend tables. An attacker can cause incorrect pixel data or a crash when a user decompresses a crafted JPEG DICOM file with DCMTK.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
A global out-of-bounds read in the Huffman decoder of the bundled IJG JPEG libraries (dcmjpeg/libijg8, libijg12 and libijg16) of OFFIS DCMTK 3.7.0 allows an attacker to read memory beyond the extend_test[] and extend_offset[] tables, causing incorrectly decoded pixel data or a crash, via a DICOM file with a crafted JPEG stream whose Huffman table defines a difference category above 15. Huffman symbol values are not range-checked unless DCMTK is built with DCMTK_ENABLE_STRICT_HUFFMAN_TABLE_CHECK, which is disabled by default. dcmdjpeg and any application that decompresses JPEG DICOM images with DCMTK are affected. The issue is fixed in commit d6ae1bc8d5b9ae9c7300013c8c85cc2ea0fd8cf5.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The fix is in commit d6ae1bc8d5b9ae9c7300013c8c85cc2ea0fd8cf5, and the sources list no fixed version for DCMTK. Building DCMTK with DCMTK_ENABLE_STRICT_HUFFMAN_TABLE_CHECK enables the Huffman symbol range check, which is disabled by default.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Vendor assessments
Timeline
- 2026-10-08 Threatist record created from CVE-2026-44038
- 2026-10-08 Alias added: GHSA-4mfc-mxcx-mmpp
- 2026-10-09 Affected versions changed · Red Hat
- 2026-10-09 CVSS score added · Red Hat
References
Patch 1
Advisory 1
More OFFIS vulnerabilities
- TI-2026-10943 OFFIS DCMTK ofxml.cc parseFile heap-based overflow CVSS 4.0MEDIUM 5.3
- TI-2025-08922 DCMTK dcm2img diybrpxt.h memory corruption CVSS 4.0MEDIUM 4.8
- TI-2022-04568 DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference CVSS 4.0MEDIUM 4.8
- TI-2020-18990 DCMTK dcmqrscp parseQuota stack-based overflow CVSS 4.0MEDIUM 4.8
- TI-2024-22823 dcmnet in DCMTK before 3.6.9 has a segmentation fault via an invalid DIMSE message. CVSS 3.1MEDIUM 4.3
- TI-2019-16028 Out-of-bounds write in OFFIS.de DCMTK CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-44038 · CVE Program
- CVE-2026-44038 · NVD
- FIRST EPSS
- GHSA-4mfc-mxcx-mmpp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-44038 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences