Back to list

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.Drop — CVE-2025-46153

Date
Source
MSRC
Vendor
Microsoft
Threat
medium
CVSS
5.3

Summary

Advisory 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… Vendor: Microsoft. Source: MSRC. Threat: medium. CVSS 5.3. See the official…

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Read the official source

Related advisories