CVE-2025-46148
1 advisory.
PyPI/torch CVE-2025-46148: medium 5.3
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Action: Upgrade torch to 2.7.0 or later.
pip install torch==2.7.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 2.7.0 | - |
Fixed versions
| 2.7.0 |
Sources
- osv: PYSEC-2025-198
- 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
CVE-2025-46148 · published · modified · JSON