XMedCon integer underflow vulnerability patched in Ubuntu via ESM Apps
A flaw in XMedCon's DICOM file handling allows specially crafted files to trigger an integer underflow and cause a denial of service.
Summary
Ubuntu has released security updates to address a vulnerability in XMedCon, a medical image conversion tool used for DICOM, ECAT, and other formats. The flaw involves incorrect handling of specific DICOM files, which can lead to an integer underflow during processing.
An attacker can exploit this issue by tricking a user or an automated system into opening a maliciously crafted DICOM file. Successful exploitation results in a software crash, leading to a denial of service. The fixes are primarily available through Ubuntu Pro via ESM Apps for several Long Term Support (LTS) releases.
Technical details of CVE-2025-2581
- Defect Class: The vulnerability is identified as an integer underflow occurring during the parsing of DICOM medical imaging files.
- Attack Vector: The vulnerability is triggered when the XMedCon application processes a specially crafted file, making it a file-based attack vector.
- Impact: Exploitation leads to an application crash, which constitutes a denial of service (DoS) for the affected medical imaging workflow.
- Affected Packages: Fixes are provided via libmdc3t64 (Noble), libmdc3 (Jammy and Focal), and libmdc2 (Bionic and Xenial).
Why it matters
This vulnerability is particularly relevant for medical environments and automated imaging pipelines that rely on XMedCon for file conversion. Because the fixes for older LTS releases are distributed through Ubuntu Pro's ESM Apps, administrators must have an active Ubuntu Pro subscription to secure these specific medical imaging components.
Original reference: ubuntu.com →