CVE Catalog

CVE-2026-44034

MediumCVSS 4.4
Published: Updated: Translated: NVD NIST

Summary

A heap-based out-of-bounds read in DcmRLECodecDecoder::decodeFrame() in dcmdata/libsrc/dcrleccd.cc of OFFIS DCMTK 3.7.0 allows an attacker to read up to 63 bytes of adjacent heap memory, or cause a crash, via a crafted RLE Lossless DICOM file whose pixel data fragment is shorter than the 64-byte RLE header. The function copies 64 bytes without checking the fragment length, a check that the sibling function decode() already performs.

Risk Assessment

Applications that decode RLE images frame by frame (for example, through DcmPixelData::getUncompressedFrame()) are affected, potentially leading to memory disclosure or denial of service. The dcmdrle command-line tool uses decode() and is not affected.

Recommendation

Update OFFIS DCMTK to a version containing the fix from commit 45469f3c30037e9c7159290e4bb74cd7b3b9ef1d. Until then, avoid decoding untrusted RLE DICOM files in applications using decodeFrame().

Other vulnerabilities in OFFIS DCMTK

See all
Original NVD description (English source)

A heap-based out-of-bounds read in DcmRLECodecDecoder::decodeFrame() in dcmdata/libsrc/dcrleccd.cc of OFFIS DCMTK 3.7.0 allows an attacker to read up to 63 bytes of adjacent heap memory, or cause a crash, via a crafted RLE Lossless DICOM file whose pixel data fragment is shorter than the 64-byte RLE header. The function copies 64 bytes without checking the fragment length, a check that the sibling function decode() already performs. Applications that decode RLE images frame by frame (for example, through DcmPixelData::getUncompressedFrame()) are affected. The dcmdrle command-line tool uses decode() and is not affected. The issue is fixed in commit 45469f3c30037e9c7159290e4bb74cd7b3b9ef1d.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS