{"id":"CVE-2025-46148","published":"2025-09-25T00:00:00Z","modified":"2025-09-25T18:47:30Z","title":"In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results","vendor":null,"product":null,"tier":"tail","description":{"text":"In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00401,"percentile":0.3521,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/pytorch/pytorch/issues/151198","tags":[]},{"url":"https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093","tags":[]},{"url":"https://github.com/pytorch/pytorch/pull/152993","tags":[]},{"url":"https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a","tags":[]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":7.04},{"name":"CVSS severity","points":3.71}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-25T18:46:23.089112Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"torch","vulnerableRanges":["<2.7.0"],"patched":["2.7.0"],"from":["PYSEC-2025-198"],"provenance":"source"}],"summary":{"text":"In PyTorch through 2.6.0, the nn.PairwiseDistance(p=2) module returns incorrect results when eager mode is used. An attacker able to supply inputs to a model that calls this module can cause it to produce wrong distance values, with no authentication, user interaction, or special configuration required beyond eager execution being active.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:01Z"},"euvd":{"id":"EUVD-2025-31112","exploited":false,"provenance":"source"}}