Vulnerabilities · 2025 · Linuxfoundation
CVE-2025-46148
Linuxfoundation Pytorch vulnerability
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Affected products
Pytorch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Pytorch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pytorch/pytorch/pull/152993 · Patch
- gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a · Third Party Advisory
- gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093 · Third Party Advisory
- github.com/pytorch/pytorch/issues/151198
- nvd.nist.gov/vuln/detail/CVE-2025-46148
- cve.org/CVERecord?id=CVE-2025-46148
More vulnerabilities in Linuxfoundation products
CVE-2026-24747CVE-2026-24117CVE-2026-23955CVE-2026-23831CVE-2025-68141CVE-2025-68140CVE-2025-68139CVE-2025-68138All 418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.