pydicom — security advisory
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.
- Products
- pydicom
- Affected versions
- 0.9.8-1, 0.9.9-2, 0.9.9-3, 1.2.1-1, 1.4.1-1, 2.0.0-1, 2.0.0-2, 2.2.2-1, 2.3.1-1, 2.4.3-1, 2.4.3-2, 2.4.3-3, 3.0.2-3
- Fixed versions
- Not specified
- CVEs
- CVE-2026-32711
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:59 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-32711
pydicom
Fixed versions: Not specified
pydicom
Fixed versions: Not specified
pydicom
Fixed versions: Not specified
pydicom
Fixed versions: Not specified
pydicom
Fixed versions: Not specified
pydicom
Fixed versions: Not specified
pydicom
Fixed versions: Not specified
pydicom
Fixed versions: Not specified
Complete source record
{
"id": "cc98253cac24fddfc827eff3504e5b9f1ac4236d9feb6cb8f8db02b51ad87622",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-32711",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-32711",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-32711",
"products": [
{
"name": {
"value": "pydicom",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.8-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.9.9-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "pydicom",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.9-2",
"evidence": "/affected/1/versions"
},
{
"value": "0.9.9-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "pydicom",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.4.1-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "pydicom",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.0.0-2",
"evidence": "/affected/3/versions"
},
{
"value": "2.2.2-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "pydicom",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.3.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.4.3-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "pydicom",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.3-1",
"evidence": "/affected/5/versions"
},
{
"value": "2.4.3-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "pydicom",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.3-3",
"evidence": "/affected/6/versions"
},
{
"value": "3.0.2-3",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "pydicom",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.3-2",
"evidence": "/affected/7/versions"
},
{
"value": "2.4.3-3",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-32711",
"aliases": [
"UBUNTU-CVE-2026-32711"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pydicom",
"purl": "pkg:deb/ubuntu/pydicom?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.9.8-1",
"0.9.9-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-dicom",
"binary_version": "0.9.9-2"
},
{
"binary_name": "python3-dicom",
"binary_version": "0.9.9-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pydicom",
"purl": "pkg:deb/ubuntu/pydicom?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.9.9-2",
"0.9.9-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-dicom",
"binary_version": "0.9.9-3"
},
{
"binary_name": "python3-dicom",
"binary_version": "0.9.9-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pydicom",
"purl": "pkg:deb/ubuntu/pydicom?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.2.1-1",
"1.4.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dicom",
"binary_version": "1.4.1-1"
},
{
"binary_name": "python3-pydicom",
"binary_version": "1.4.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pydicom",
"purl": "pkg:deb/ubuntu/pydicom?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.0.0-1",
"2.0.0-2",
"2.2.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dicom",
"binary_version": "2.2.2-1"
},
{
"binary_name": "python3-pydicom",
"binary_version": "2.2.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pydicom",
"purl": "pkg:deb/ubuntu/pydicom?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.3.1-1",
"2.4.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pydicom",
"binary_version": "2.4.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pydicom",
"purl": "pkg:deb/ubuntu/pydicom?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.4.3-1",
"2.4.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pydicom",
"binary_version": "2.4.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pydicom",
"purl": "pkg:deb/ubuntu/pydicom?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.4.3-3",
"3.0.2-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pydicom",
"binary_version": "3.0.2-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pydicom",
"purl": "pkg:deb/ubuntu/pydicom?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.4.3-2",
"2.4.3-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pydicom",
"binary_version": "2.4.3-3"
}
]
}
}
],
"modified": "2026-10-17T12:59:58.469126718Z",
"provider": "osv",
"upstream": [
"CVE-2026-32711"
],
"references": [
"https://ubuntu.com/security/CVE-2026-32711",
"https://www.cve.org/CVERecord?id=CVE-2026-32711",
"https://github.com/pydicom/pydicom/security/advisories/GHSA-v856-2rf8-9f28",
"https://github.com/pydicom/pydicom/commit/6414f01a053dff925578799f5a7208d2ae585e82",
"https://github.com/pydicom/pydicom/releases/tag/v3.0.2"
]
},
"related_cves": [
{
"value": "CVE-2026-32711",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 360048,
"published_at": "2026-03-20T02:16:00+00:00"
}