PT-2025-39379 · Pytorch+1 · Pytorch+1
Published
2025-04-14
·
Updated
2025-10-05
·
CVE-2025-46148
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
PyTorch versions through 2.6.0
Description
When eager mode is used, the
nn.PairwiseDistance(p=2) function in PyTorch produces incorrect results. The p parameter in the nn.PairwiseDistance function determines the distance metric. A value of 2 specifies the Euclidean distance. The issue occurs specifically when eager execution is enabled.Recommendations
Update to a version of PyTorch newer than 2.6.0.
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Pytorch