{"id":"CVE-2025-46153","aliases":["CVE-2025-46153","PYSEC-2025-202","BIT-PYTORCH-2025-46153"],"related":[],"kind":"vulnerability","state":"published","title":"PyTorch before 3.7.0 has a bernoullip decompose function in decompositions.py even though it lacks full consistency with the eager CPU impl…","summary":"PyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks full consistency with the eager CPU implementation, negatively affecting nn.Dropout1d, nn.Dropout2d, and nn.Dropout3d for fallback_random=True.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks full consistency with the eager CPU implementation, negatively affecting nn.Dropout1d, nn.Dropout2d, and nn.Dropout3d for fallback_random=True.","source":"cvelist"},{"lang":"es","text":"PyTorch anterior a la versión 3.7.0 tiene una función de descomposición bernoulli_p en decompositions.py a pesar de que carece de plena consistencia con la implementación eager de CPU, afectando negativamente a nn.Dropout1d, nn.Dropout2d y nn.Dropout3d para fallback_random=True.","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":["CWE-1176"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.0","fixed":"2.7.0"}],"vendor":"linuxfoundation","product":"pytorch","cpe":"cpe:2.3:a:linuxfoundation:pytorch:*:-:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.6.0","status":"affected","fixed":"2.7.0"}],"ecosystem":"PyPI","package":"torch","purl":"pkg:pypi/torch","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.6.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/142853","tags":["issue-tracking","report"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/pull/143460","tags":["fix","issue-tracking","patch"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0","tags":["product","web"],"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-46153","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-25T18:30:09.731Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-46153","url":"https://www.cve.org/CVERecord?id=CVE-2025-46153","licence":"CVE Terms of Use","modified":"2025-09-25T18:33:13.153Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-46153","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46153","licence":"Public domain","modified":"2026-11-05T23:10:00.150Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-202","url":"https://osv.dev/vulnerability/PYSEC-2025-202","licence":"CC-BY-4.0","modified":"2026-05-20T09:19:19.678Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTORCH-2025-46153","url":"https://osv.dev/vulnerability/BIT-PYTORCH-2025-46153","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.978Z"}],"updatedAt":"2026-11-25T22:59:05.165Z","epss":{"score":0.00421,"percentile":0.38356,"date":"2026-12-01T12:00:22.000Z"}}