CVE-2025-46148
published 2025-09-25CVE-2025-46148: In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
PriorityP426medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EPSS
0.37%
29.7th percentile
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pytorch | — | — |
| linuxfoundation | pytorch | <= 2.6.0 | — |
| msrc | azl3_pytorch_2.2.2-7_on_azure_linux_3.0 | — | — |
| msrc | cbl2_pytorch_2.0.0-9_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_msrc5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2025-46148: In PyTorch through 2
osv·2025-09-25·CVSS 5.3
CVE-2025-46148 [MEDIUM] CVE-2025-46148: In PyTorch through 2
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
GHSA
GHSA-m7x9-2m87-mqhf: In PyTorch through 2
ghsa_unreviewed·2025-09-25
CVE-2025-46148 [MEDIUM] GHSA-m7x9-2m87-mqhf: In PyTorch through 2
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Red Hat
torch: PyTorch incorrect results
vendor_redhat·2025-09-25·CVSS 5.3
CVE-2025-46148 [MEDIUM] CWE-440 torch: PyTorch incorrect results
torch: PyTorch incorrect results
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
A logic flaw has been discovered in PyTorch. When the eager method is used, the function nn.PairwiseDistance(p=2) produces incorrect results.
Mitigation: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Package: openshift-lightspeed/lightspeed-service-api-rhel9 (OpenShift Lightspeed) - Fix deferred
Package: openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 (OpenShift Lightspeed) - Fix deferred
Package: rhaiis-preview/vllm-cuda-rhel9 (Red Hat AI Inference Server)
Microsoft
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
vendor_msrc·2025-09-09·CVSS 5.3
CVE-2025-46148 [MEDIUM] In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Debian
CVE-2025-46148: pytorch - In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces ...
vendor_debian·2025·CVSS 5.3
CVE-2025-46148 [MEDIUM] CVE-2025-46148: pytorch - In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces ...
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-09-25
Published