CVE-2025-2999
PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption
A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.202% · 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-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 4.8 · published by VulDBCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:30.248Z
CVSS 3.1 · 5.3 · published by VulDBCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Assessment source · checked 2026-11-19T12:57:30.248Z
CVSS 3.0 · 5.3 · published by VulDBCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Assessment source · checked 2026-11-19T12:57:30.248Z
CVSS 2.0 · 4.3 · published by VulDBAV:L/AC:L/Au:S/C:P/I:P/A:P
Assessment source · checked 2026-11-19T12:57:30.248Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:30.248Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.588Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:22.826Z | OSV |
| affected | verified | 2026-11-19T12:57:30.248Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:30.248Z | CVE Program |
Affected versions and configuration
n/a 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": "n/a",
"product": "PyTorch",
"versions": [
{
"status": "affected",
"version": "2.6.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-2999",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-03-31T15:04:36.650196Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-31T15:15:18.302Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-vgrw-7cvw-pwgx",
"aliases": [
"BIT-pytorch-2025-2999",
"CVE-2025-2999",
"PYSEC-2025-193"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.1"
}
]
}
],
"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",
"2.6.0",
"2.7.0",
"2.7.1",
"2.8.0",
"2.9.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-vgrw-7cvw-pwgx/GHSA-vgrw-7cvw-pwgx.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-2999",
"type": "ADVISORY"
},
{
"url": "https://github.com/pytorch/pytorch/issues/149622",
"type": "WEB"
},
{
"url": "https://github.com/pytorch/pytorch/issues/149622#issue-2935495265",
"type": "WEB"
},
{
"url": "https://github.com/pytorch/pytorch/commit/494518046816d29099b7d056a74ffa5c244fdcdd",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-193.yaml",
"type": "WEB"
},
{
"url": "https://github.com/pytorch/pytorch",
"type": "PACKAGE"
},
{
"url": "https://vuldb.com/?ctiid.302048",
"type": "WEB"
},
{
"url": "https://vuldb.com/?id.302048",
"type": "WEB"
},
{
"url": "https://vuldb.com/?submit.524198",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-119"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-03-31T15:15:44Z",
"github_reviewed_at": "2026-06-10T17:25:19Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2025-193",
"aliases": [
"BIT-pytorch-2025-2999",
"CVE-2025-2999",
"GHSA-vgrw-7cvw-pwgx"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.6.0-NA"
}
]
}
],
"package": {
"name": "torch",
"purl": "pkg:pypi/torch",
"ecosystem": "PyPI"
},
"versions": [],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/torch/PYSEC-2025-193.yaml"
},
"ecosystem_specific": {}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://vuldb.com/?id.302048",
"type": "ADVISORY"
},
{
"url": "https://vuldb.com/?submit.524198",
"type": "ADVISORY"
},
{
"url": "https://github.com/pytorch/pytorch/issues/149622",
"type": "REPORT"
},
{
"url": "https://github.com/pytorch/pytorch/issues/149622#issue-2935495265",
"type": "REPORT"
},
{
"url": "https://vuldb.com/?ctiid.302048",
"type": "REPORT"
},
{
"url": "https://github.com/advisories/GHSA-vgrw-7cvw-pwgx",
"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.9.1 | 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-03-31T15:30:48.000Z
Source modification: 2026-06-10T17:41:15.774ZDocument fingerprint
243300a06693c5fdacf54ea902c0850a6bf9245d7ec7a35904810c5eb34314d8 - OSVConsulted: 2026-11-19T12:52:22.826ZArchived source JSON
Source publication: 2025-03-31T15:15:44.657Z
Source modification: 2026-07-13T16:45:06.526ZDocument fingerprint
243300a06693c5fdacf54ea902c0850a6bf9245d7ec7a35904810c5eb34314d8 - CVE ProgramConsulted: 2026-11-19T12:57:30.248ZArchived source JSON
Source publication: 2025-03-31T14:31:04.982Z
Source modification: 2025-03-31T15:15:18.302ZDocument fingerprint
fb2350dcf82c322ff98ec21c38e688659a4bac8785d21f8ceb3f402c3daf2432 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:40.588ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f828727fd2419e9ee62887077d52e76b99e46a1d7a1ce89e08e7e861a70ba109
Official status history
- UNKNOWN → PUBLISHED · · evidence