CVE-2025-46153: PYSEC-2025-202 - PyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks…
CVE-2025-46153 · Severity: low · CVSS 3.1 · Published 2025-09-25
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.
Yes. torch (PyPI): upgrade to 2.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-46153?
Check whether you run torch (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.