home / blog

2026-11-19 · high

CVE-2026-133168 in DCMTK: Heap Buffer Overflow Vulnerability

Critical vulnerability in DCMTK enables code execution via manipulated JPEG images.

CVE-2026-133168 in DCMTK: Heap Buffer Overflow Vulnerability

CVE-2026-133168 is a heap buffer overflow vulnerability in the togglePlanarConfiguration8 and togglePlanarConfiguration16 functions in the djcodece.cc file within DCMTK 3.7.1. The vulnerability occurs when the application computes row offsets using rows instead of columns for true-lossless JPEG compressed DICOM images.

The severity is classified as high (CVSS 7.8) and the vulnerability was officially published on November 19, 2026. Signals on GitHub indicate the presence of repositories that claim to contain exploits, but it is not confirmed whether they are actually functional or being actively exploited in the wild.

To defend against this vulnerability, companies using DCMTK should update to the corrected version as soon as it becomes available, apply security patches provided by vendors, and implement restricted access controls for image processing functionalities. It is also recommended to monitor traffic involving DICOM files and implement rigorous input validation before processing.

At a glance

What
Heap buffer overflow in togglePlanarConfiguration8 and togglePlanarConfiguration16 functions
Severity
High (CVSS 7.8)
Affected versions
3.7.1
Fix
Not reported
Status
Published on 11/19/2026
Action
Apply patches as soon as available, verify systems using DCMTK

Sources: NVD, CVE-2026-133168

← All articles