# CVE-2026-133167: OFFIS DCMTK 3.5.4 through 3.7.1 Heap Out-of-Bounds Read via encodeTrueLossless

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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.17%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-19T14:16:28.187Z
- Modified: 2026-11-24T20:38:28.417Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

OFFIS DCMTK 3.5.4 through 3.7.1 contains an integer overflow in DJCodecEncoder::encodeTrueLossless size checks that allows attackers to trigger a heap out-of-bounds read. Attackers can supply a crafted DICOM file with large Columns, Rows and SamplesPerPixel values that, when compressed with true-lossless JPEG, crashes the application.

(As written by CVE List.)

## Affected

- OFFIS DCMTK: from 3.5.4 up to 3.7.1

## Every score

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

## References

- <https://support.dcmtk.org/redmine/issues/1300> (issue-tracking)
- <https://github.com/DCMTK/dcmtk/commit/f9fbc4f3687a43e8342d85ef5584edf6f15f9fc9> (patch)
- <https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L598> (technical-description)
- <https://github.com/DCMTK/dcmtk> (product)
- <https://www.vulncheck.com/advisories/offis-dcmtk-3.5.4-through-3.7.1-heap-out-of-bounds-read-via-encodetruelossless> (third-party-advisory)

## Sources

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

---

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