Skip to content
Heist/ feed
Medium

Global buffer out-of-bounds read in DCMTK JPEG Huffman decoding

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-44038

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-44038

DCMTK

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:2.3:a:offis:dcmtk:3.7.0:*:*:*:*:*:*:*"
    ],
    "repo": "https://github.com/DCMTK/dcmtk",
    "vendor": "OFFIS",
    "modules": [
      "dcmjpeg"
    ],
    "product": "DCMTK",
    "versions": [
      {
        "status": "affected",
        "version": "3.7.0"
      }
    ],
    "programFiles": [
      "dcmjpeg/libijg8/jdshuff.c",
      "dcmjpeg/libijg12/jdshuff.c",
      "dcmjpeg/libijg16/jdshuff.c"
    ],
    "collectionURL": "https://github.com/DCMTK/dcmtk",
    "defaultStatus": "unknown"
  }
]
Related CVEs
CVE-2026-44038

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#12530 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement