PyTorch is vulnerable to memory corruption through its torch.jit.script function
Low severity
GitHub Reviewed
Published
Mar 31, 2025
to the GitHub Advisory Database
•
Updated Jun 10, 2026
Description
Published by the National Vulnerability Database
Mar 31, 2025
Published to the GitHub Advisory Database
Mar 31, 2025
Reviewed
Jun 10, 2026
Last updated
Jun 10, 2026
A vulnerability classified as critical has been found in PyTorch 2.6.0. This affects the function torch.jit.script. The manipulation leads to memory corruption. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.
References