MEDIUM5.3
PYSEC-2025-201
Quick fix
PYSEC-2025-201 — torch: upgrade to the fixed version with the command below.
pip install --upgrade 'torch>=2.7.0'Details
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
Are you affected?
Enter the version of the package you're using.