CVE-2025-46153

published 25 Sep 2025 · updated 5 Nov 2026

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.

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.7.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
linuxfoundationpytorch>=2.6.0 <2.7.02.7.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-46153 severity on Zeptric[![CVE-2025-46153](https://zeptric.io/badge/cve/CVE-2025-46153.svg)](https://zeptric.io/cve/CVE-2025-46153)