A critical vulnerability in PyTorch 2.6.0 affecting the torch.jit.script function can lead to memory corruption. The vulnerability can be exploited locally. Although the exploit has been publicly disclosed, no known exploits are reported in the wild. A patch is available to address this issue.