Medium severity · published Mar 31, 2025
CVE-2025-2999
A vulnerability was found in PyTorch 2.6.0
5.3
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
Pytorch · Linuxfoundation
2.6.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-2999
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-2999
Issue Tracking
https://github.com/pytorch/pytorch/issues/149622
Issue Tracking
https://github.com/pytorch/pytorch/issues/149622#issue-2935495265
Permissions Required
https://vuldb.com/?ctiid.302048
Third Party Advisory
https://vuldb.com/?id.302048
Third Party Advisory
https://vuldb.com/?submit.524198
More from Pytorch
9.8
CVE-2025-32434
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system
9.8
CVE-2024-48063
In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE
9.8
CVE-2022-45907
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely
8.8
CVE-2026-24747
PyTorch is a Python package that provides tensor computation
7.8
CVE-2026-4538
A vulnerability was identified in PyTorch 2.10.0
