Vulnerability in Linuxfoundation Pytorch
CVE-2025-46153
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (35.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 36th percentile — 35.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/pytorch/pytorch/issues/142853 (Issue Tracking)
- github.com/pytorch/pytorch/pull/143460 (Patch, Issue Tracking)
- gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a (Third Party Advisory)
- github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0 (Product)
- gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-46153?
- CVE-2025-46153 is a medium-severity vulnerability in Linuxfoundation Pytorch, classified under CWE-1176. CVSS score: 5.3/10. Published 2025-09-25.
- How severe is CVE-2025-46153?
- Medium severity. CVSS v3 base score is 5.3 out of 10.