A critical vulnerability exists in PyTorch version 2.6.0 through versions before 2.7.0 in the function torch.nn.utils.rnn.unpack_sequence. This flaw can lead to memory corruption when exploited locally. The vulnerability has been publicly disclosed, but no known exploits are reported in the wild. A patch is available to address this issue.