Pytorch · Pytorch · CVE-2025-2998
**Name of the Vulnerable Software and Affected Versions**
PyTorch version 2.6.0
**Description**
A critical issue has been identified, affecting the `torch.nn.utils.rnn.pad packed sequence` function, which can lead to memory corruption. This issue requires local access to exploit.
**Recommendations**
For PyTorch version 2.6.0, as a temporary workaround, consider disabling the `torch.nn.utils.rnn.pad packed sequence` function until a patch is available.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.