affected: - package: ecosystem: PyPI name: torch purl: pkg:pypi/torch ranges: - events: - introduced: '0' - fixed: 2.7.0 type: ECOSYSTEM versions: - 1.0.0 - 1.0.1 - 1.1.0 - 1.10.0 - 1.10.1 - 1.10.2 - 1.11.0 - 1.12.0 - 1.12.1 - 1.13.0 - 1.13.1 - 1.2.0 - 1.3.0 - 1.3.1 - 1.4.0 - 1.5.0 - 1.5.1 - 1.6.0 - 1.7.0 - 1.7.1 - 1.8.0 - 1.8.1 - 1.9.0 - 1.9.1 - 2.0.0 - 2.0.1 - 2.1.0 - 2.1.1 - 2.1.2 - 2.2.0 - 2.2.1 - 2.2.2 - 2.3.0 - 2.3.1 - 2.4.0 - 2.4.1 - 2.5.0 - 2.5.1 - 2.6.0 aliases: - CVE-2025-46148 details: In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results. id: PYSEC-2025-198 modified: '2026-05-20T09:19:19.437232Z' published: '2025-09-25T15:16:12.007Z' references: - type: ADVISORY url: https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a - type: ADVISORY url: https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093 - type: REPORT url: https://github.com/pytorch/pytorch/issues/151198 - type: FIX url: https://github.com/pytorch/pytorch/pull/152993 severity: - score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N type: CVSS_V3