CVE-2026-133167: OFFIS DCMTK 3.5.4 through 3.7.1 Heap Out-of-Bounds Read via encodeTrueLossless
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.
Event History
Frequently Asked Questions
Which systems are realistically exposed to this issue?
Systems using OFFIS DCMTK versions 3.5.4 through 3.7.1 are exposed when they process attacker-controlled DICOM files and compress them using true-lossless JPEG.
What must an attacker provide to trigger the crash?
The attacker needs to supply a crafted DICOM file with large Columns, Rows, and SamplesPerPixel values. Triggering occurs when that file is compressed with the true-lossless JPEG encoder.
What is the practical impact described for exploitation?
The integer overflow can cause a heap out-of-bounds read and crash the application, resulting in an availability impact. The supplied data does not describe confidentiality or integrity impact.