CVE-2025-2999
published medium CVSS 4.0 · 4.8PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PyTorch2.6.0 | Affected | Not stated | VulDB |
Description
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.
Eine kritische Schwachstelle wurde in PyTorch 2.6.0 ausgemacht. Betroffen davon ist die Funktion torch.nn.utils.rnn.unpack_sequence. Durch Beeinflussen mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Der Angriff muss lokal passieren. Der Exploit steht zur öffentlichen Verfügung.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PyTorch | 2.6.0 (affected) | VulDB · cna |
Weaknesses
1- CWE-119 Memory Corruption
References
5- https://github.com/pytorch/pytorch/issues/149622
- https://github.com/pytorch/pytorch/issues/149622#issue-2935495265
- VDB-302048 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.302048
- VDB-302048 | PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption https://vuldb.com/?id.302048
- Submit #524198 | pytorch pytorch (torch.nn.utils.rnn.unpack_sequence) torch 2.6.0 Segmentation fault https://vuldb.com/?submit.524198
Provider assertions
2VulDB · cna
PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fb2350dcf82c322ff98ec21c38e688659a4bac8785d21f8ceb3f402c3daf2432
- Ingested
- 23 Sep 2026, 08:44:05 UTC
- Source record
- Official CVE record