Vendors › Microsoft

CVE-2025-4517

Critical (9.4) EPSS 1.5% Microsoft · Azure

Arbitrary writes via tarfile realpath overflow

Python's tarfile module can write files outside the intended extraction directory when unpacking an untrusted archive with the 'data' or 'tar' filter, because a path-overflow bug defeats the filter's checks. Extracting a crafted archive can therefore plant arbitrary files on the system.

Published2025-06-10
Updated2026-11-21
Affectedcbl2 python3 3.9.19-14 on CBL Mariner 2.0; azl3 python3 3.12.9-2 on Azure Linux 3.0; cbl2 python3 3.9.19-13 on CBL Mariner 2.0; cbl2 python3 3.9.19-13 on CBL-Mariner 2.0; azl4 python3.6 3.6.15-62.azl4 on Azure Linux 4.0
FixInstall the latest Microsoft Security Update for the affected product.
Vendor advisoryhttps://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-4517

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-4517CWE-22Directory TraversalInformation LeakNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.