In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Date: 2025-09
Affected: linuxfoundation/pytorch
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-46148
CVE-2025-46149
CVE-2025-46150
CVE-2025-46152
CVE-2025-46153
CWE: CWE-1176
CWE-617
CWE-787
CVSS: 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)

In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.


Mitigations:

Architectural layers (MAESTRO):