CVE-2025-46148
MEDIUM5.3EPSS 0.08%Published: 9/25/2025Modified: 5/20/2026
Description
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Affected packages (3)
- Bitnami/pytorchfrom 0, < 2.7.0
- Debian/pytorchfrom 0
- PyPI/torchfrom 0, < 2.7.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (6)
- ADVISORYhttps://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a
- ADVISORYhttps://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-46148
- PATCHhttps://github.com/pytorch/pytorch/pull/152993
- REPORThttps://github.com/pytorch/pytorch/issues/151198
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-46148