PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's weights_only unpickler allows an attacker to craft a malicious checkpoint file (.pth) that, when loaded with torch.load(..., weights_only=True), can corrupt memory and potentially lead to arbitrary code execution. Version 2.10.0 fixes the issue.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-502",
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24747.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.10.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "v2.10.0",
"range": [
{
"fixed": "449b1768410104d3ed79d3bcfe4ba1d65c7f22c0"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.10.0"
}
],
"source": "CPE_RANGE"
}
]
}