← Database

CVE-2025-46153

MEDIUM CVSS: 5.3 Published: 2025-09-25 Modified: 2026-06-17

Description

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.

Affected Platforms

Linuxfoundation Pytorch

Weakness Type

CWE-1176

References