{"id":"BIT-pytorch-2025-46148","details":"In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.","aliases":["CVE-2025-46148","PYSEC-2025-198"],"modified":"2026-09-08T08:48:24.942476296Z","published":"2025-10-05T23:47:45.481Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*"]},"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"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46148"}],"affected":[{"package":{"name":"pytorch","ecosystem":"Bitnami","purl":"pkg:bitnami/pytorch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.7.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pytorch/BIT-pytorch-2025-46148.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}],"schema_version":"1.9.0"}