PT-2025-39379 · Pytorch+1 · Pytorch+1

Published

2025-04-14

·

Updated

2025-10-05

·

CVE-2025-46148

CVSS v3.1

5.3

Medium

VectorAV: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

Weakness Enumeration

Related Identifiers

BDU:2025-13137
BIT-PYTORCH-2025-46148
CVE-2025-46148
PYSEC-2025-198

Affected Products

Debian
Pytorch