{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-24747","id":"CVE-2026-24747","title":"PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files","description":"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.","descriptionLong":"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.","published":"2026-01-27T21:13:46.878Z","updated":"2026-10-28T03:00:05.164003592Z","reserved":"2026-01-26T19:06:16.059Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["pytorch"],"affectedProducts":[{"vendor":"pytorch","product":"pytorch","defaultStatus":null,"versions":[{"version":"< 2.10.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"torch","purl":"pkg:pypi/torch","ranges":["<2.10.0"],"fixed":["2.10.0"],"advisory":"GHSA-63cw-57p8-fm3p"},{"ecosystem":"PyPI","name":"pytorch","purl":"pkg:pypi/pytorch","ranges":["<2.10.0"],"fixed":["2.10.0"],"advisory":"PYSEC-2026-1856"}],"cwes":["CWE-502","CWE-94"],"aliases":["BIT-pytorch-2026-24747","GHSA-63cw-57p8-fm3p","PYSEC-2026-1856","PYSEC-2026-2286"],"references":[{"url":"https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/pytorch/pytorch/issues/163105","tags":["x_refsource_MISC","Exploit","Issue Tracking","report","web"]},{"url":"https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139","tags":["x_refsource_MISC","Broken Link","fix","web"]},{"url":"https://github.com/pytorch/pytorch/releases/tag/v2.10.0","tags":["x_refsource_MISC","Product","Release Notes","web","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-24747","tags":["vdb-entry","x_refsource_REDHAT","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2433612","tags":["issue-tracking","x_refsource_REDHAT","report","web"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24747.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24977","tags":["vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24747.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24747","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-63cw-57p8-fm3p","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pytorch/PYSEC-2026-1856.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2026-2286.yaml","tags":["web"]},{"url":"https://github.com/pytorch/pytorch","tags":["package"]},{"url":"https://pypi.org/project/pytorch","tags":["web","package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00799,"epssPercentile":0.57321,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-24747","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24747","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-24747","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-63cw-57p8-fm3p","ok":true,"note":"GHSA-63cw-57p8-fm3p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-24747","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}