{"id":"CVE-2025-46148","aliases":["CVE-2025-46148","PYSEC-2025-198","BIT-PYTORCH-2025-46148"],"related":[],"kind":"vulnerability","state":"published","title":"In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.","summary":"In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.","source":"cvelist"},{"lang":"es","text":"En PyTorch hasta la versión 2.6.0, cuando se utiliza eager, nn.PairwiseDistance(p=2) produce resultados incorrectos.","source":"nvd"}],"published":"2025-09-25T00:00:00.000Z","modified":"2026-11-05T23:10:00.150Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.6.0"}],"vendor":"linuxfoundation","product":"pytorch","cpe":"cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.7.0"}],"ecosystem":"PyPI","package":"torch","purl":"pkg:pypi/torch","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.7.0"}],"ecosystem":"Bitnami","package":"pytorch","purl":"pkg:bitnami/pytorch","source":"bitnami"}],"references":[{"url":"https://github.com/pytorch/pytorch/issues/151198","tags":["issue-tracking","report"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/pull/152993","tags":["fix","issue-tracking","patch"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46148","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-25T18:46:23.089Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-46148","url":"https://www.cve.org/CVERecord?id=CVE-2025-46148","licence":"CVE Terms of Use","modified":"2025-09-25T18:47:30.851Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-46148","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46148","licence":"Public domain","modified":"2026-11-05T23:10:00.150Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-198","url":"https://osv.dev/vulnerability/PYSEC-2025-198","licence":"CC-BY-4.0","modified":"2026-05-20T09:19:19.437Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTORCH-2025-46148","url":"https://osv.dev/vulnerability/BIT-PYTORCH-2025-46148","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.942Z"}],"updatedAt":"2026-11-25T22:59:05.164Z","epss":{"score":0.00417,"percentile":0.37985,"date":"2026-12-02T12:00:21.000Z"}}