CVE-2025-32434
PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.369% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 9.3 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:32.489Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:32.489Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.990Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:22.826Z | OSV |
| affected | verified | 2026-11-19T12:57:32.489Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:32.489Z | CVE Program |
Affected versions and configuration
pytorch pytorch; default status: unknown: < 2.6.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "pytorch",
"product": "pytorch",
"versions": [
{
"status": "affected",
"version": "< 2.6.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-32434",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-04-18T16:06:40.000632Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-18T16:06:51.966Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2025/12/msg00000.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-12-01T07:05:28.923Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-53q9-r3pm-6pq6",
"aliases": [
"BIT-pytorch-2025-32434",
"CVE-2025-32434",
"PYSEC-2025-41"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.0"
}
]
}
],
"package": {
"name": "torch",
"purl": "pkg:pypi/torch",
"ecosystem": "PyPI"
},
"versions": [
"1.0.0",
"1.0.1",
"1.1.0",
"1.10.0",
"1.10.1",
"1.10.2",
"1.11.0",
"1.12.0",
"1.12.1",
"1.13.0",
"1.13.1",
"1.2.0",
"1.3.0",
"1.3.1",
"1.4.0",
"1.5.0",
"1.5.1",
"1.6.0",
"1.7.0",
"1.7.1",
"1.8.0",
"1.8.1",
"1.9.0",
"1.9.1",
"2.0.0",
"2.0.1",
"2.1.0",
"2.1.1",
"2.1.2",
"2.2.0",
"2.2.1",
"2.2.2",
"2.3.0",
"2.3.1",
"2.4.0",
"2.4.1",
"2.5.0",
"2.5.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-53q9-r3pm-6pq6/GHSA-53q9-r3pm-6pq6.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-32434",
"type": "ADVISORY"
},
{
"url": "https://github.com/pytorch/pytorch/commit/8d4b8a920a2172523deb95bf20e8e52d50649c04",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-41.yaml",
"type": "WEB"
},
{
"url": "https://github.com/pytorch/pytorch",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-502"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2025-04-18T16:15:23Z",
"github_reviewed_at": "2025-04-18T15:19:28Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2025-41",
"aliases": [
"BIT-pytorch-2025-32434",
"CVE-2025-32434",
"GHSA-53q9-r3pm-6pq6"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.0"
}
]
}
],
"package": {
"name": "torch",
"purl": "pkg:pypi/torch",
"ecosystem": "PyPI"
},
"versions": [
"1.0.0",
"1.0.1",
"1.1.0",
"1.10.0",
"1.10.1",
"1.10.2",
"1.11.0",
"1.12.0",
"1.12.1",
"1.13.0",
"1.13.1",
"1.2.0",
"1.3.0",
"1.3.1",
"1.4.0",
"1.5.0",
"1.5.1",
"1.6.0",
"1.7.0",
"1.7.1",
"1.8.0",
"1.8.1",
"1.9.0",
"1.9.1",
"2.0.0",
"2.0.1",
"2.1.0",
"2.1.1",
"2.1.2",
"2.2.0",
"2.2.1",
"2.2.2",
"2.3.0",
"2.3.1",
"2.4.0",
"2.4.1",
"2.5.0",
"2.5.1"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/torch/PYSEC-2025-41.yaml"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pytorch/pytorch/security/advisories/GHSA-53q9-r3pm-6pq6",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | torch | Not a distribution channel | 2.6.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:22.826ZArchived source JSON
Source publication: 2025-04-18T15:19:28.000Z
Source modification: 2026-08-07T08:12:20.395ZDocument fingerprint
243300a06693c5fdacf54ea902c0850a6bf9245d7ec7a35904810c5eb34314d8 - OSVConsulted: 2026-11-19T12:52:22.826ZArchived source JSON
Source publication: 2025-04-18T16:15:23.000Z
Source modification: 2025-05-28T15:41:47.508ZDocument fingerprint
243300a06693c5fdacf54ea902c0850a6bf9245d7ec7a35904810c5eb34314d8 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:32.489ZArchived source JSON
Source publication: 2025-04-18T15:48:18.851Z
Source modification: 2025-12-01T07:05:28.923ZDocument fingerprint
9aaa6b9737c019ab3803fd889436475d9b0c99580778f335094b53357826dc5a - FIRST EPSSConsulted: 2026-11-19T16:04:40.990ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
a61f5deec65b1a30b54fc6ad686dda6767c11c22f88b3bf1af4c6db9cb0d67b3
Official status history
- UNKNOWN → PUBLISHED · · evidence