OFFIS DCMTK 3.5.4 through 3.7.1 Heap Out-of-Bounds Read via encodeTrueLossless
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 19, 2026
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.
| Product | Versions |
|---|---|
| DCMTK OFFIS | 3.5.4 through 3.7.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 5.5 Medium | VulnCheck |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
References
- https://support.dcmtk.org/redmine/issues/1300Issue Tracker
- https://github.com/DCMTK/dcmtk/commit/f9fbc4f3687a43e8342d85ef5584edf6f15f9fc9Patch
- https://github.com/DCMTK/dcmtk/blob/DCMTK-3.7.1/dcmjpeg/libsrc/djcodece.cc#L598Technical Details
- https://github.com/DCMTK/dcmtkProduct Page
- VulnCheck Advisory: OFFIS DCMTK 3.5.4 through 3.7.1 Heap Out-of-Bounds Read via encodeTrueLosslessThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.