Vulnerability in PyTorch Affects Dropout Functions
CVE-2025-46153
5.3MEDIUM
What is CVE-2025-46153?
A specific issue has been identified in PyTorch where the bernoulli_p decompose function defined in decompositions.py does not achieve full consistency with the eager CPU implementation. This inconsistency can adversely affect the performance and reliability of nn.Dropout1d, nn.Dropout2d, and nn.Dropout3d when the fallback_random option is enabled, potentially leading to unintended behavior in machine learning models relying on these dropout functionalities.