MEDIUM5.3
PYSEC-2025-198
Quick fix
PYSEC-2025-198 — torch: upgrade to the fixed version with the command below.
pip install --upgrade 'torch>=2.7.0'Details
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Are you affected?
Enter the version of the package you're using.