CVE-2025-2999Linuxfoundation Pytorch
Medium 4.8
Follow: this CVE · Linuxfoundation · Linuxfoundation Pytorch We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 4.8
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 31, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Pytorch.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | torch |
< 2.9.1 |
2.9.1 |
pip install "torch>=2.9.1" |
| PyPI | torch |
≤ 2.6.0-NA |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-vgrw-7cvw-pwgx, PYSEC-2025-193). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | pytorch | 2.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Vendor Advisory
- github.com Issue Tracking Vendor Advisory
- vuldb.com Permissions Required VDB Entry
- vuldb.com Third Party Advisory VDB Entry
- vuldb.com Third Party Advisory VDB Entry