Vulnerability Description
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
CVSS Score
5.3
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Pytorch | <= 2.6.0 |
References
- https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248aThird Party Advisory
- https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093Third Party Advisory
- https://github.com/pytorch/pytorch/issues/151198Issue Tracking
- https://github.com/pytorch/pytorch/pull/152993Issue TrackingPatch
FAQ
What is CVE-2025-46148?
CVE-2025-46148 is a vulnerability with a CVSS score of 5.3 (MEDIUM). In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
How severe is CVE-2025-46148?
CVE-2025-46148 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-46148?
Check the references section above for vendor advisories and patch information. Affected products include: Linuxfoundation Pytorch.