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.
Published: 2026-10-08
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: Heap-based Out-of-Bounds Read
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Thu, 08 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 08 Oct 2026 13:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: securin

Published:

Updated: 2026-10-08T14:09:23.670Z

Reserved: 2026-05-05T02:49:00.667Z

Link: CVE-2026-44034

cve-icon Vulnrichment

Updated: 2026-10-08T14:09:19.388Z

cve-icon NVD

Status : Received

Published: 2026-10-08T13:17:17.347

Modified: 2026-10-08T15:17:53.833

Link: CVE-2026-44034

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T14:45:17Z

Weaknesses