Medium severity · published Mar 31, 2025
CVE-2025-2999
PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption
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 ·
2.6.0 · source: vendor, NVD
Affected product
PY
PyTorch
More from PyTorch
7.8
CVE-2026-4538
PyTorch pt2 Loading deserialization
7.5
CVE-2025-2148
PyTorch Tuple torch.ops.profiler._call_end_callbacks_on_jit_fut memory corruption
5.5
CVE-2025-3730
PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service
5.5
CVE-2025-3121
PyTorch torch.jit.jit_module_from_flatbuffer memory corruption
5.5
CVE-2025-2953
PyTorch torch.mkldnn_max_pool2d denial of service