Vendors › Microsoft

CVE-2025-32434

Critical (9.8) EPSS 2.4% Microsoft · Azure

PyTorch: `torch.load` with `weights_only=True` leads to remote code execution

PyTorch: `torch.load` with `weights_only=True` leads to remote code execution.

Published2025-04-08
Updated2026-11-17
Affectedcbl2 pytorch 2.0.0-9 on CBL Mariner 2.0; cbl2 pytorch 2.0.0-9 on CBL-Mariner 2.0; cbl2 pytorch 2.0.0-8 on CBL Mariner 2.0; azl3 pytorch 2.2.2-6 on Azure Linux 3.0; azl3 pytorch 2.2.2-7 on Azure Linux 3.0
FixInstall the latest Microsoft Security Update for the affected product.
Vendor advisoryhttps://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-32434

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-32434CWE-502OtherCode ExecutionNVD · 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.