Vulnerability · Published Sep 25, 2025 · Assigned by mitre
CVE-2025-46148
Medium 5.3
In plain English
A medium-severity security flaw in the pytorch package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 65.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pytorch | no fix listed | DEBIAN-CVE-2025-46148 |
| Debian:13 | pytorch | no fix listed | DEBIAN-CVE-2025-46148 |
| Debian:14 | pytorch | 2.12.0+dfsg2-1 | DEBIAN-CVE-2025-46148 |
| PyPI | torch | 2.7.0 | PYSEC-2025-198 |
| Ubuntu:22.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-46148 |
| Ubuntu:25.10 | pytorch | no fix listed | UBUNTU-CVE-2025-46148 |
| Ubuntu:26.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-46148 |
| Ubuntu:26.10 | pytorch | no fix listed | UBUNTU-CVE-2025-46148 |