CVE-2025-46148
MEDIUMCVSS 5.3/10EPSS 0.37%
Last modified
CVE-2025-46148 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Software
| 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 Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-46148?
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 a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 0.37% probability of exploitation in the next 30 days.
How do I fix CVE-2025-46148?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2025-46148?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
