Vulnerabilities · 2025 · Linuxfoundation
CVE-2025-46153
Linuxfoundation Pytorch vulnerability
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 products
Pytorch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Pytorch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pytorch/pytorch/pull/143460 · Patch
- gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a · Third Party Advisory
- gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a · Third Party Advisory
- github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0
- github.com/pytorch/pytorch/issues/142853
- nvd.nist.gov/vuln/detail/CVE-2025-46153
- cve.org/CVERecord?id=CVE-2025-46153
More vulnerabilities in Linuxfoundation products
CVE-2026-24747CVE-2026-24117CVE-2026-23955CVE-2026-23831CVE-2025-68141CVE-2025-68140CVE-2025-68139CVE-2025-68138All 418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.