CVE-2025-46153
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | affected | |
| debian | bullseye | affected | |
| debian | forky | affected | |
| debian | sid | fixed | 2.12.0+dfsg2-1 |
| debian | trixie | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | torch | >=2.6.0,<2.7.0 | 2.7.0 |
References
- https://github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0
- https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a
- https://gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a
- https://github.com/pytorch/pytorch/issues/142853
- https://github.com/pytorch/pytorch/pull/143460
- https://security-tracker.debian.org/tracker/CVE-2025-46153
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.