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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46153.json"
}{
"cpe": "cpe:2.3:a:linuxfoundation:pytorch:*:-:*:*:*:python:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.7.0"
},
{
"introduced": "2.6.0"
},
{
"fixed": "2.7.0"
}
],
"source": [
"DESCRIPTION",
"CPE_RANGE"
]
}