CVE-2025-46148 Details
Description
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
A vulnerability in PyTorch's deep learning compiler, specifically in the 'torch.nn.PairwiseDistance' component when 'eager' execution is used, has been identified. This issue, present in PyTorch versions through 2.6.0, leads to incorrect calculation results. The error allows for the manipulation of model outputs, potentially causing models to make misguided decisions based on the flawed data.
Users can upgrade to PyTorch version 2.7.0 or later, where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a | [email protected] | Third Party Advisory |
| https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093 | [email protected] | Third Party Advisory |
| https://github.com/pytorch/pytorch/issues/151198 | [email protected] | Issue Tracking |
| https://github.com/pytorch/pytorch/pull/152993 | [email protected] | Issue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation pytorch | <= 2.6.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 3, 2025 | Initial Analysis | [email protected] |
| Sep 25, 2025 | CVE Modified | CISA-ADP |
| Sep 25, 2025 | New CVE Received | [email protected] |