Vulnerability in Linuxfoundation Pytorch
CVE-2025-46148
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (34.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 34.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
References
- github.com/pytorch/pytorch/issues/151198 (Issue Tracking)
- gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093 (Third Party Advisory)
- github.com/pytorch/pytorch/pull/152993 (Patch, Issue Tracking)
- gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-46148?
- CVE-2025-46148 is a medium-severity vulnerability in Linuxfoundation Pytorch. CVSS score: 5.3/10. Published 2025-09-25.
- How severe is CVE-2025-46148?
- Medium severity. CVSS v3 base score is 5.3 out of 10.