CVE-2026-133168
DCMTK 3.7.1 Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion
CVSS Score
7.8
EPSS Score
0.2%
EPSS Percentile
13th
OFFIS DCMTK 3.7.1 contains a heap buffer overflow vulnerability in togglePlanarConfiguration8 and togglePlanarConfiguration16 in djcodece.cc, which compute row offsets using rows instead of columns. Attackers can supply a crafted color-by-plane DICOM image with more rows than columns that is compressed with the true-lossless JPEG codec to corrupt heap memory, causing crashes and potentially code execution.
| CWE | CWE-787 |
| Vendor | offis |
| Product | dcmtk |
| Published | Nov 19, 2026 |
| Last Updated | Nov 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for offis dcmtk
Be the first to know when new high vulnerabilities affecting offis dcmtk are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
OFFIS / DCMTK
3.7.1
References
support.dcmtk.org: https://support.dcmtk.org/redmine/issues/1298 github.com: https://github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9 github.com: https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L1503-L1540 github.com: https://github.com/DCMTK/dcmtk vulncheck.com: https://www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-planar-configuration-conversion
Credits
Federico Muttis, Diphrakt B.V. Peter Klotz