Skip to main content
← All vulnerabilities
CVE-2025-46148PYSEC-2025-198BIT-PYTORCH-2025-46148

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • torchPyPI

    fixed in 2.7.0

References 4

GitHub · pytorch/pytorch

gist.github.com