Ubuntu CVE Tracker
UBUNTU-CVE-2025-46148
Details
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:22.04:LTS | pytorch | All versions, no fix listed |
| Ubuntu:25.10 | pytorch | All versions, no fix listed |
| Ubuntu:26.10 | pytorch | All versions, no fix listed |
| Ubuntu:26.04:LTS | pytorch | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-46148
- https://www.cve.org/CVERecord?id=CVE-2025-46148
- https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a
- https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093
- https://github.com/pytorch/pytorch/issues/151198
- https://github.com/pytorch/pytorch/pull/152993