In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093
https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a
https://github.com/pytorch/pytorch/pull/152993
https://github.com/pytorch/pytorch/issues/151198
Source: Mitre, NVD
Published: 2025-09-25
Updated: 2025-10-03
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS: 0.00029