PyTorchPYSEC-2025-198
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results
Fix: upgrade to 2.7.0 or later
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| torch PyPI | < 2.7.0 | 2.7.0 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Severity from
- the CVSS score
- Also known as
- BIT-pytorch-2025-46148, CVE-2025-46148