---
title: "CVE-2026-133168: OFFIS DCMTK - Buffer Overflow"
description: "OFFIS DCMTK 3.7.1 contains a heap buffer overflow caused by incorrect row offset computation in togglePlanarConfiguration8 and togglePlanarConfiguration16 in djcodece.cc, letting attackers supply crafted color-by-plane DICOM images compressed with true-lossless JPEG codec to corrupt heap memory, exploit requires crafted DICOM image with more rows than columns."
url: https://panop.io/threat-heartbeat/CVE-2026-133168/
---

# CVE-2026-133168 OFFIS DCMTK - Buffer Overflow

OFFIS DCMTK 3.7.1 contains a heap buffer overflow caused by incorrect row offset computation in togglePlanarConfiguration8 and togglePlanarConfiguration16 in djcodece.cc, letting attackers supply crafted color-by-plane DICOM images compressed with true-lossless JPEG codec to corrupt heap memory, exploit requires crafted DICOM image with more rows than columns.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

Proof of concept available

Authentication

Not required

EPSS

0.22% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-133168)

## Details

Type

Buffer Overflow

Impact

Remote Code Execution, Denial Of Service

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

19 November 2026

Updated

21 November 2026

Weakness

[CWE-787](https://cwe.mitre.org/data/definitions/787.html)

## Vendor fix

Update to the latest version of OFFIS DCMTK.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-133168](https://nvd.nist.gov/vuln/detail/CVE-2026-133168)
- [https://github.com/DCMTK/dcmtk](https://github.com/DCMTK/dcmtk)
- [https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L1503-L1540](https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L1503-L1540)
- [https://github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9](https://github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9)
- [https://support.dcmtk.org/redmine/issues/1298](https://support.dcmtk.org/redmine/issues/1298)
- [https://www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-planar-configuration-conversion](https://www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-planar-configuration-conversion)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
