Heap Buffer Overflow in PAM Image Buffer Allocation
Orthanc DICOM Server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Orthanc DICOM Server |
| No fix yet |
Original description
A heap buffer overflow vulnerability exists in the PAM image parsing logic. When Orthanc processes a crafted PAM image embedded in a DICOM file, image dimensions are multiplied using 32-bit unsigned arithmetic. Specially chosen values can cause an integer overflow during buffer size calculation, resulting in the allocation of a small buffer followed by a much larger write operation during pixel processing.
From the CVE record · certcc