PyTorchPYSEC-2025-201
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
Medium5.3CVE-2025-46152 · Published Sep 25, 2025 · updated May 20, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| torch PyPI | >= 2.6.0, < 2.7.0 | 2.7.0 |
Details and references
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Severity from
- the CVSS score
- Also known as
- BIT-pytorch-2025-46152, CVE-2025-46152