CVE-2025-46153
1 advisory.
PyPI/torch CVE-2025-46153: medium 5.3
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,
Action: Upgrade torch to 2.7.0 or later.
pip install torch==2.7.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 2.6.0 | 2.7.0 | - |
Fixed versions
| 2.7.0 |
Sources
- osv: PYSEC-2025-202
- 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
CVE-2025-46153 · published · modified · JSON