VDB
GHSA-53q9-r3pm-6pq6
GHSA-53q9-r3pm-6pq6
PUBLISHED
CVSS 9.300000190734863 CRITICAL
PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
Record from GitHub Advisory Database · Published April 18, 2025
torch is fixed in 2.6.0 (PyPI)
PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| torch | PyPI | 2.6.0 |
Risk scores
CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | torch | 0 |
| PyPI | torch | 0 |
| chainguard | py3.11-torchvision-cuda-12.3 | * |
| chainguard | py3.11-pytorch-cuda-12.3 | * |
Timeline
- Apr 18, 2025 CVE Published
- Mar 21, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-53q9-r3pm-6pq6
vulnetix vdb fixes GHSA-53q9-r3pm-6pq6
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-53q9-r3pm-6pq6/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/pytorch/pytorch package
- GitHub Advisory GHSA-53q9-r3pm-6pq6 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-32434 advisory
- https://github.com/pytorch/pytorch/commit/8d4b8a920a2172523deb95bf20e8e52d50649c04 url
- https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6 url
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-41.yaml url