{"id":"UBUNTU-CVE-2026-32711","details":"pydicom is a pure Python package for working with DICOM files. Versions 2.0.0-rc.1 through 3.0.1 are vulnerable to Path Traversal through a maliciously crafted DICOMDIR ReferencedFileID when it is set to a path outside the File-set root. pydicom resolves the path only to confirm that it exists, but does not verify that the resolved path remains under the File-set root. Subsequent public FileSet operations such as copy(), write(), and remove()+write(use_existing=True) use that unchecked path in file I/O operations. This allows arbitrary file read/copy and, in some flows, move/delete outside the File-set root. This issue has been fixed in version 3.0.2.","modified":"2026-05-20T16:25:21.766838613Z","published":"2026-03-20T02:16:00Z","upstream":["CVE-2026-32711"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-32711"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-32711"},{"type":"REPORT","url":"https://github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28"},{"type":"REPORT","url":"https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82"},{"type":"REPORT","url":"https://github.com/pydicom/pydicom/releases/tag/v3.0.2"}],"affected":[{"package":{"name":"pydicom","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/pydicom?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8-1","0.9.9-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.9-2","binary_name":"python-dicom"},{"binary_name":"python3-dicom","binary_version":"0.9.9-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"}},{"package":{"name":"pydicom","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pydicom?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.9-2","0.9.9-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python-dicom","binary_version":"0.9.9-3"},{"binary_version":"0.9.9-3","binary_name":"python3-dicom"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"}},{"package":{"name":"pydicom","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pydicom?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-1","1.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-dicom","binary_version":"1.4.1-1"},{"binary_version":"1.4.1-1","binary_name":"python3-pydicom"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"}},{"package":{"name":"pydicom","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pydicom?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-1","2.0.0-2","2.2.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-dicom","binary_version":"2.2.2-1"},{"binary_name":"python3-pydicom","binary_version":"2.2.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"}},{"package":{"name":"pydicom","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pydicom?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1-1","2.4.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pydicom","binary_version":"2.4.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"}},{"package":{"name":"pydicom","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/pydicom?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.3-1","2.4.3-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.3-2","binary_name":"python3-pydicom"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"}},{"package":{"name":"pydicom","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pydicom?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.3-2","2.4.3-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pydicom","binary_version":"2.4.3-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}