CVEvulnerability
CVE-2025-46153
5.3 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-09-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-1176
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 configurations
• linuxfoundation pytorch (>= 2.6.0 < 2.7.0)
Related
Weakness · CWE (1)
- CWE-1176 Inefficient CPU Computation weakness
References
- https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a Third Party Advisory
- https://gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a Third Party Advisory
- https://github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0 Product
- https://github.com/pytorch/pytorch/issues/142853 Issue Tracking
- https://github.com/pytorch/pytorch/pull/143460 Issue Tracking, Patch