External risk intelligence

Grassroots DICOM Out-of-Bounds Read Information Leak

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2025-53618

Grassroots DICOM is a software library used for processing medical imaging files. While it can be integrated into network-facing applications, it is primarily a file-processing utility. Exploitation requires a user or system to open a specially crafted DICOM file, making widespread public internet exposure of this specific codec functionality unlikely in common deployments.

Memory Corruption

Malaterre Grassroots Dicom

3.0.24

Halo Surface Signal: 2 out of 5 — less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

An information leak vulnerability exists in the Grassroots DICOM software, specifically within its JPEGBITSCodec. A malicious DICOM file could exploit this to expose data, potentially impacting systems that process medical imaging files. The primary concern is to confirm if this specific technology is in use and whether it is exposed to such files.

  • Malicious files can cause unintended data exposure.
  • Confirm relevance to our medical imaging processing.
  • Assess exposure to specially crafted DICOM files.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by providing a specially crafted DICOM file. This malicious file targets the `JPEGBITSCodec::InternalCode` functionality within Grassroots DICOM, leading to an information leak. The vulnerability can be triggered when the `grayscale_convert` function is invoked based on the content of the malicious DICOM file.

  • Entry condition: Attacker provides a malicious file.
  • Trigger point: JPEGBITSCodec::InternalCode function.
  • Resulting risk: Information leak and denial of service.

Live Threat

Current exploitation, exposure, and threat context

A vulnerability in the JPEGBITSCodec::InternalCode functionality of Grassroots DICOM could allow an attacker to leak information by providing a specially crafted DICOM file. This occurs when the `grayscale_convert` function is called based on the content of a malicious DICOM file, potentially exposing sensitive data related to image pixel interpretation.

  • DICOM image data and system memory.
  • Malicious DICOM file processing.
  • Potential information disclosure.

Operational Fix

Recommended remediation, mitigation, and detection steps

The Grassroots DICOM library's `JPEGBITSCodec::InternalCode` function, affected by a critical out-of-bounds read vulnerability, likely falls under the responsibility of application owners or platform teams that integrate this DICOM processing capability. The first step for these teams is to locate all instances of Grassroots DICOM, assess their exposure, determine business criticality, and identify the accountable personnel before planning remediation.

  • Application or platform teams own this.
  • Verify DICOM file processing exposure.
  • Plan targeted remediation or risk reduction.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Grassroots DICOM?

Grassroots DICOM is an open-source software library used by developers to read, write, and process medical imaging files that follow the Digital Imaging and Communications in Medicine (DICOM) standard. It is commonly integrated into larger medical software platforms, such as hospital imaging systems or research tools, to help manage and display complex image data.

What does the CVE-2025-53618 vulnerability mean?

This vulnerability is an out-of-bounds read, specifically classified as CWE-125. It occurs when software reads data past the intended end of a buffer. In this case, the JPEGBITSCodec fails to properly validate input, which can cause the program to access memory outside its expected bounds and potentially leak sensitive information during image processing.

How is this vulnerability triggered?

The flaw is triggered when the library processes a specifically crafted, malicious DICOM file. When the software invokes the grayscale_convert function based on instructions within that file, the codec may perform an invalid memory read. It is not triggered by simply having the software installed; the system must actively parse or open a file designed to exploit this specific codec logic.

Is my system at risk from the internet?

According to Halo Surface Signal, widespread public internet exposure for this specific codec functionality is unlikely. Because Grassroots DICOM is primarily a file-processing library rather than a network service, the primary risk involves systems configured to automatically or manually process incoming DICOM files from untrusted sources.

How should I respond to this threat advisory?

First, identify where Grassroots DICOM is integrated within your environment. Since this is a library, look for applications or services that handle medical image ingestion. Once located, assess if those systems process files from untrusted or external users, and prioritize monitoring or updating those specific file-processing workflows to mitigate potential exposure.

References