# CVE-2026-133168

Heap overflow in DCMTK 3.7.1 allows RCE via crafted color-by-plane DICOM JPEG images

- Page: https://www.vulneraibility.com/cve/CVE-2026-133168
- CVSS: 8.5
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.22% (percentile 13.1)
- Unvetted proof-of-concept code on GitHub: 1 GitHub proof of concept (first 2026-11-19)
- Weakness: CWE-787
- Published: 2026-11-19

## Affected versions

- OFFIS DCMTK: affected 3.7.1

A version outside these ranges is not a statement that it is unaffected.

## Impact

Processing a crafted color-by-plane DICOM (true-lossless JPEG) can trigger a heap overflow, causing crashes and potential remote code execution.

## Action

Immediate action required

## Recommendation

Upgrade DCMTK to the patched version; block/validate untrusted DICOM inputs.

## References

- [other] https://support.dcmtk.org/redmine/issues/1298
- [patch] https://github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9
- [other] https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L1503-L1540
- [other] https://github.com/DCMTK/dcmtk
- [advisory] https://www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-planar-configuration-conversion

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
