{"id":"UBUNTU-CVE-2025-2581","details":"A vulnerability has been found in xmedcon 0.25.0 and classified as problematic. Affected by this vulnerability is the function malloc of the component DICOM File Handler. The manipulation leads to integer underflow. The attack can be launched remotely. Upgrading to version 0.25.1 is able to address this issue. It is recommended to upgrade the affected component.","modified":"2026-05-20T16:20:59.462071280Z","published":"2025-03-21T05:15:00Z","upstream":["CVE-2025-2581"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-2581"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-2581"},{"type":"REPORT","url":"https://xmedcon.sourceforge.io/Main/New"},{"type":"REPORT","url":"https://sourceforge.net/p/xmedcon/code/ci/e7a88836fc2277f8ab777f3ef24f917d08415559/"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.300541"},{"type":"REPORT","url":"https://vuldb.com/?id.300541"},{"type":"REPORT","url":"https://vuldb.com/?submit.522216"}],"affected":[{"package":{"name":"xmedcon","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/xmedcon?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.0-2","0.14.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmdc2","binary_version":"0.14.1-1"},{"binary_name":"medcon","binary_version":"0.14.1-1"},{"binary_version":"0.14.1-1","binary_name":"xmedcon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2581.json"}},{"package":{"name":"xmedcon","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/xmedcon?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.1-1build1","0.14.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.14.1-2","binary_name":"libmdc2"},{"binary_name":"medcon","binary_version":"0.14.1-2"},{"binary_name":"xmedcon","binary_version":"0.14.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2581.json"}},{"package":{"name":"xmedcon","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/xmedcon?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmdc3","binary_version":"0.16.1+dfsg-1"},{"binary_version":"0.16.1+dfsg-1","binary_name":"medcon"},{"binary_name":"xmedcon","binary_version":"0.16.1+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2581.json"}},{"package":{"name":"xmedcon","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/xmedcon?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.3+dfsg-1","0.21.2+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmdc3","binary_version":"0.21.2+dfsg-1"},{"binary_name":"medcon","binary_version":"0.21.2+dfsg-1"},{"binary_name":"xmedcon","binary_version":"0.21.2+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2581.json"}},{"package":{"name":"xmedcon","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/xmedcon?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.0-gtk3+dfsg-1","0.23.0-gtk3+dfsg-1.1build1","0.23.0-gtk3+dfsg-1.1build2","0.23.0-gtk3+dfsg-1.1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libmdc3t64","binary_version":"0.23.0-gtk3+dfsg-1.1build3"},{"binary_name":"medcon","binary_version":"0.23.0-gtk3+dfsg-1.1build3"},{"binary_version":"0.23.0-gtk3+dfsg-1.1build3","binary_name":"xmedcon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2581.json"}},{"package":{"name":"xmedcon","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/xmedcon?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.24.0-gtk3+dfsg-2","0.25.1-gtk3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmdc3t64","binary_version":"0.25.1-gtk3+dfsg-1"},{"binary_version":"0.25.1-gtk3+dfsg-1","binary_name":"medcon"},{"binary_version":"0.25.1-gtk3+dfsg-1","binary_name":"xmedcon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2581.json"}},{"package":{"name":"xmedcon","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/xmedcon?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.25.1-gtk3+dfsg-1","0.25.1-gtk3+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.25.1-gtk3+dfsg-1build1","binary_name":"libmdc3t64"},{"binary_version":"0.25.1-gtk3+dfsg-1build1","binary_name":"medcon"},{"binary_name":"xmedcon","binary_version":"0.25.1-gtk3+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2581.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}