Out-of-Bounds Read in DicomImageDecoder (DecodeLookupTable)
Orthanc DICOM Server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Orthanc DICOM Server |
| No fix yet |
Original description
An out-of-bounds read vulnerability exists in the `DecodeLookupTable` function within `DicomImageDecoder.cpp`. The lookup-table decoding logic used for `PALETTE COLOR` images does not validate pixel indices against the lookup table size. Crafted images containing indices larger than the palette size cause the decoder to read beyond allocated lookup table memory and expose heap contents in the output image.
From the CVE record · certcc