ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1PyPI 1Ubuntu 1

Advisories in PyPI

  • PYSEC-2025-202

    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…

    CVE-2025-46153 PyPI Updated 20 May 2026

References