CVE-2025-46153
Last modified
CVE-2025-46153 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Pytorch | >= 2.6.0, < 2.7.0 |
References
- https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248aThird Party Advisory
- https://gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28aThird Party Advisory
- https://github.com/pytorch/pytorch/issues/142853Issue Tracking
- https://github.com/pytorch/pytorch/pull/143460Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-46153?
How severe is CVE-2025-46153?
How do I fix CVE-2025-46153?
Are you affected by CVE-2025-46153?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
