Buffer overflow in Offis Dcmtk
CVE-2026-133168
- CVSS v3
- 7.8 High
- Public exploits
- 1 repository
- EPSS
- 0.002 · 13.1th percentile
- Published
- 2026-11-19
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.
Vulnerability class: Buffer Overflow
Published .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 13.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Offis Dcmtk — versions 3.7.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- LLCForge/CVE-2026-133168 (last pushed 2026-11-19): CVE-2026-133168 -- DCMTK 3.7.1 Heap Buffer Overflow in JPEG Encoder (RCE). CVSS 8.8 High.
References
- support.dcmtk.org/redmine/issues/1298 (issue-tracking)
- github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9 (patch)
- github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc (technical-description)
- github.com/DCMTK/dcmtk (product)
- www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-… (third-party-advisory)