CRITICALPyPI

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

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

CVE-2025-32434Published 1 year agoUpdated 2 weeks agoSource: OSV

Affected packages

  • torchbefore 2.6.0

Exploit signal

Known exploited (CISA KEV)
No
EPSS score
EPSS percentile

EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.

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