CVE-2026-133167
OFFIS DCMTK 3.5.4 through 3.7.1 contains an integer overflow in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/DCMTK/dcmtk
- github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L598
- github.com/DCMTK/dcmtk/commit/f9fbc4f3687a43e8342d85ef5584edf6f15f9fc9
- support.dcmtk.org/redmine/issues/1300
- www.vulncheck.com/advisories/offis-dcmtk-3.5.4-through-3.7.1-heap-out-of-bounds-read-via-e
- nvd.nist.gov/vuln/detail/CVE-2026-133167
- cve.org/CVERecord?id=CVE-2026-133167
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.