What’s Vulnerable › Vulnerabilities
CVE-2025-2999: PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-31 · updated 2026-06-17
- Weakness: CWE-119
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.
Affected products
- PyTorch: 2.6.0
References
- https://github.com/pytorch/pytorch/issues/149622
- https://github.com/pytorch/pytorch/issues/149622#issue-2935495265
- https://vuldb.com/?ctiid.302048
- https://vuldb.com/?id.302048
- https://vuldb.com/?submit.524198
Get alerted when CVE-2025-2999 or the next vulnerability affects your stack