What’s Vulnerable › Vulnerabilities
CVE-2025-46152
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-25 · updated 2026-06-17
- Weakness: CWE-787
Description
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
Affected products
- PyTorch: from 2.6.0 before 2.7.0 — fixed in 2.7.0
How to fix
Upgrade to a fixed version: PyTorch 2.7.0. Check the vendor advisory for mitigations.
References
- https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a
- https://github.com/pytorch/pytorch/issues/143555
- https://github.com/pytorch/pytorch/pull/143635
Get alerted when CVE-2025-46152 or the next vulnerability affects your stack