CVE-2025-2998
published medium CVSS 4.0 · 4.8PyTorch torch.nn.utils.rnn.pad_packed_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 declared as critical. Affected by this vulnerability is the function torch.nn.utils.rnn.pad_packed_sequence. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.
In PyTorch 2.6.0 wurde eine kritische Schwachstelle ausgemacht. Betroffen ist die Funktion torch.nn.utils.rnn.pad_packed_sequence. Durch das Beeinflussen mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Der Angriff muss lokal angegangen werden. 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-302047 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.302047
- VDB-302047 | PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption https://vuldb.com/?id.302047
- Submit #524151 | pytorch torch 2.6.0 Segmentation fault https://vuldb.com/?submit.524151
Provider assertions
2VulDB · cna
PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ac3d942e63b9802abaf289edf7be7d7ca4b06890aa50be06b0da2267a755ce5b
- Ingested
- 23 Sep 2026, 08:44:05 UTC
- Source record
- Official CVE record