# CVE-2026-133168: DCMTK 3.7.1 Heap Buffer Overflow via JPEG Encoder Planar Configuration Conversion

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-11-19T14:16:27.522Z
- Modified: 2026-11-24T04:17:25.080Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- OFFIS DCMTK: 3.7.1

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://support.dcmtk.org/redmine/issues/1298> (issue-tracking)
- <https://github.com/DCMTK/dcmtk/commit/c22836c449bb81834fee5d883e9ebd9d7dab90b9> (patch)
- <https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L1503-L1540> (technical-description)
- <https://github.com/DCMTK/dcmtk> (product)
- <https://www.vulncheck.com/advisories/dcmtk-3.7.1-heap-buffer-overflow-via-jpeg-encoder-planar-configuration-conversion> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-133168](https://www.cve.org/CVERecord?id=CVE-2026-133168), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-133168](https://nvd.nist.gov/vuln/detail/CVE-2026-133168), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-133168 · Whole record: https://cve.day/CVE-2026-133168.json · Rebuilt by cve.day 2026-11-25T22:59:52.019Z
