A critical vulnerability in PyTorch version 2.6.0 affecting the function torch.nn.utils.rnn.pad_packed_sequence can lead to memory corruption. Exploitation requires local access. The vulnerability has been publicly disclosed, but no known exploits are reported in the wild. A patch is available to address this issue.