In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
                
            References
                    | Link | Resource | 
|---|---|
| https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a | Third Party Advisory | 
| https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093 | Third Party Advisory | 
| https://github.com/pytorch/pytorch/issues/151198 | Issue Tracking | 
| https://github.com/pytorch/pytorch/pull/152993 | Issue Tracking Patch | 
Configurations
                    History
                    03 Oct 2025, 17:59
| Type | Values Removed | Values Added | 
|---|---|---|
| CPE | cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:* | |
| First Time | Linuxfoundation Linuxfoundation pytorch | |
| References | () https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a - Third Party Advisory | |
| References | () https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093 - Third Party Advisory | |
| References | () https://github.com/pytorch/pytorch/issues/151198 - Issue Tracking | |
| References | () https://github.com/pytorch/pytorch/pull/152993 - Issue Tracking, Patch | |
| CWE | NVD-CWE-noinfo | 
25 Sep 2025, 19:15
| Type | Values Removed | Values Added | 
|---|---|---|
| CVSS | v2 : v3 : | v2 : unknown v3 : 5.3 | 
25 Sep 2025, 15:16
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2025-09-25 15:16
Updated : 2025-10-03 17:59
NVD link : CVE-2025-46148
Mitre link : CVE-2025-46148
CVE.ORG link : CVE-2025-46148
JSON object : View
Products Affected
                linuxfoundation
- pytorch
CWE
                