PyPA Advisory Database
PYSEC-2025-198
Details
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | torch | All versions before 2.7.0 (fixed in 2.7.0) |