MEDIUM5.3
PYSEC-2025-206
Quick fix
PYSEC-2025-206 — torch: upgrade to the fixed version with the command below.
pip install --upgrade 'torch>=2.9.0'Details
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
Are you affected?
Enter the version of the package you're using.