CVE-2026-44034

Heap out-of-bounds read in DCMTK RLE decodeFrame()

Published Oct 8, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A heap-based out-of-bounds read exists in the DcmRLECodecDecoder::decodeFrame() function of OFFIS DCMTK 3.7.0. When processing a crafted RLE Lossless DICOM file whose pixel data fragment is shorter than the 64‑byte RLE header, the function copies 64 bytes without validating the available length. This allows an attacker to read up to 63 bytes of adjacent heap memory or cause a crash. The weakness is classified as CWE‑125 and could expose sensitive information or trigger a denial of service.

Affected Systems

OFFIS DCMTK version 3.7.0 applications that decode RLE images frame by frame (for example, via DcmPixelData::getUncompressedFrame()) are affected. The command‑line tool dcmdrle, which uses the sibling decode() function that performs the length check, is not impacted. The fix is incorporated in commit 45469f3c30037e9c7159290e4bb74cd7b3b9ef1d; no tagged release after 3.7.0 includes it.

Risk and Exploitability

The CVSS score of 4.8 indicates medium severity. No EPSS score is available, and the vulnerability is not listed in the CISA KE surface is any system that accepts or processes external RLE DICOM files; local exploitation is possible when a malicious file is supplied to the decoder, and remote exploitation can occur if the application receives such files over a network interface. Applying the patch eliminates the vulnerability and reduces risk to zero.

Remediation

Vendor Solution

Update to a DCMTK version that contains commit 45469f3c30037e9c7159290e4bb74cd7b3b9ef1d. As of the publication date, no tagged release after DCMTK 3.7.0 includes this fix, so apply the commit or build from the current master branch.


OpenCVE Recommended Actions

  • Update DCMTK to a patched version containing commit 45469f3c30037e9c7159290e4bb74cd7b3b9ef1d or rebuild from the current master branch.
  • Ensure that components using frame‑by‑frame decoding of RLE images are compiled against the patched code path.
  • As a temporary workaround, reject RLE DICOM files whose pixel data fragment is shorter than 64 bytes or avoid frame‑by‑frame decoding until the patch can be applied.

Generated by OpenCVE AI on October 8, 2026 at 14:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Heap out-of-bounds read in DCMTK RLE decodeFrame()
First Time appeared Offis
Offis dcmtk
Weaknesses CWE-125
CPEs cpe:2.3:a:offis:dcmtk:3.7.0:*:*:*:*:*:*:*
Vendors & Products Offis
Offis dcmtk
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
securin
Published
Updated
Oct 8, 2026, 2:09 PM
Reserved
May 5, 2026, 2:49 AM
Status
Awaiting Analysis
Published
Oct 8, 2026, 1:17 PM
Modified
Oct 8, 2026, 9:10 PM
Severity
Moderate
Public date
Oct 8, 2026, 12:55 PM