CVE-2026-44038Global buffer out-of-bounds read in DCMTK JPEG Huffman decoding
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | dcmtk | Fix pending | UBUNTU-CVE-2026-44038 | |
| Ubuntu 26.04 | dcmtk | Under investigation | UBUNTU-CVE-2026-44038 | |
| Ubuntu 24.04 | dcmtk | Fix pending | UBUNTU-CVE-2026-44038 | |
| Ubuntu 22.04 | dcmtk | Fix pending | UBUNTU-CVE-2026-44038 | |
| Ubuntu 20.04 | dcmtk | Fix pending | UBUNTU-CVE-2026-44038 | |
| Ubuntu 18.04 | dcmtk | Fix pending | UBUNTU-CVE-2026-44038 | |
| Ubuntu 16.04 | dcmtk | Fix pending | UBUNTU-CVE-2026-44038 | |
| Debian 14 | dcmtk | Fix pending | DEBIAN-CVE-2026-44038 | |
| Debian 13 | dcmtk | Fix pending | DEBIAN-CVE-2026-44038 | |
| Debian 12 | dcmtk | Fix pending | DEBIAN-CVE-2026-44038 |
What the vendor says
As published in the CVE record by securin, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OFFIS DCMTK: affected: 3.7.0
Solution: Update to a DCMTK version that contains commit d6ae1bc8d5b9ae9c7300013c8c85cc2ea0fd8cf5. As of the publication date, no tagged release after DCMTK 3.7.0 includes this fix, so apply the commit or build from the current master branch.
Vendor advisories:
- https://support.dcmtk.org/redmine/issues/1221 (vendor-advisory)
- https://github.com/DCMTK/dcmtk/commit/d6ae1bc8d5b9ae9c7300013c8c85cc2ea0fd8cf5 (patch)
References
- https://support.dcmtk.org/redmine/issues/1221
- https://github.com/DCMTK/dcmtk/commit/d6ae1bc8d5b9ae9c7300013c8c85cc2ea0fd8cf5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.