tocsin

PyPI/torch CVE-2025-46153: medium 5.3, EPSS 0.42%

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,

Action: Upgrade torch to 2.7.0 or later.

pip install torch==2.7.0

Affected

introducedfixedlast affected
2.6.02.7.0-

Fixed versions

2.7.0

Sources

CVE-2025-46153 · published · modified · JSON