CVE-2025-46152: Medium severity PyTorch PyTorch vulnerability
In PyTorch before 2.7.0, bitwiserightshift produces incorrect output for certain out-of-bounds values of the "other" argument.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/pytorchto a version that resolves this vulnerability.Fixed in 2.12.0+dfsg2-1 - Upgrade
Upgrade
debian/pytorchto a version that resolves this vulnerability.Fixed in 2.14.1+dfsg-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-46152?
CVE-2025-46152 has a severity rating of medium due to potential incorrect outputs from bitwise operations.
How do I fix CVE-2025-46152?
To fix CVE-2025-46152, upgrade your PyTorch version to 2.7.0 or later, where the issue is resolved.
What versions of PyTorch are affected by CVE-2025-46152?
CVE-2025-46152 affects all versions of PyTorch before 2.7.0.
What is the nature of the issue in CVE-2025-46152?
The issue in CVE-2025-46152 involves the bitwise_right_shift function producing incorrect output for certain out-of-bounds values.
Is CVE-2025-46152 a critical vulnerability?
CVE-2025-46152 is not classified as critical, but it can lead to incorrect calculations that may affect applications relying on PyTorch.