CVE-2025-46148: n/a
A vulnerability in PyTorch versions prior to 2.6.1 causes the nn.PairwiseDistance(p=2) function to produce incorrect results when used in eager mode.
AI Analysis
Technical Summary
CVE-2025-46148 identifies a defect in PyTorch through version 2.6.0 where the nn.PairwiseDistance function with parameter p=2 yields incorrect outputs when eager execution is enabled. This issue affects all versions from 0 up to but not including 2.6.1. The vulnerability does not impact confidentiality, integrity, or availability beyond the incorrect calculation results.
Potential Impact
The vulnerability results in incorrect computation of pairwise distances in PyTorch models using nn.PairwiseDistance(p=2) under eager execution. This may lead to erroneous model behavior or outputs but does not directly compromise system security properties such as confidentiality, integrity, or availability.
Mitigation Recommendations
A fix is available in PyTorch version 2.6.1. Users should upgrade to version 2.6.1 or later to resolve the incorrect result issue in nn.PairwiseDistance(p=2) when using eager mode.
CVE-2025-46148: n/a
Description
A vulnerability in PyTorch versions prior to 2.6.1 causes the nn.PairwiseDistance(p=2) function to produce incorrect results when used in eager mode.
CVSS v3.1
Score 5.3medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-46148 identifies a defect in PyTorch through version 2.6.0 where the nn.PairwiseDistance function with parameter p=2 yields incorrect outputs when eager execution is enabled. This issue affects all versions from 0 up to but not including 2.6.1. The vulnerability does not impact confidentiality, integrity, or availability beyond the incorrect calculation results.
Potential Impact
The vulnerability results in incorrect computation of pairwise distances in PyTorch models using nn.PairwiseDistance(p=2) under eager execution. This may lead to erroneous model behavior or outputs but does not directly compromise system security properties such as confidentiality, integrity, or availability.
Mitigation Recommendations
A fix is available in PyTorch version 2.6.1. Users should upgrade to version 2.6.1 or later to resolve the incorrect result issue in nn.PairwiseDistance(p=2) when using eager mode.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mitre
- Date Reserved
- 2025-04-22T00:00:00.000Z
- State
- PUBLISHED
Threat ID: 68d5511823f14e593ee33392
Added to database: 09/25/2025, 14:26:32 UTC
Last enriched: 09/08/2026, 13:23:06 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 114
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.