CVE-2025-46148

Medium

Description

In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.

SeverityMedium
CVSS5.3
Exploit probability—
ProductLinuxfoundation Pytorch
PublishedSep 25, 2025
First seenSep 25, 2025

How to fix

Update
  • torch2.7.0 or later

Affected products

ProductAffected versionsFixed in
linuxfoundation pytorchv ≤ 2.6.0—
torchPyPIv < 2.7.02.7.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.