CVE-2025-46153: Linuxfoundation Pytorch
Medium severity, CVSS 5.3. EPSS: 0.6% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Linuxfoundation Pytorch, from 2.6.0, before 2.7.0: fixed in 2.7.0
Affected products
- Linuxfoundation Pytorch: from 2.6.0, before 2.7.0 (fixed in 2.7.0)
Affected packages
- torch (PyPI)
Published 2025-09-25. Last modified 2026-11-05.