PYSEC-2025-201: Medium severity PyTorch PyTorch vulnerability
Published Sep 25, 2025
·Updated
In PyTorch before 2.7.0, bitwiserightshift produces incorrect output for certain out-of-bounds values of the "other" argument.
Affected Software
1 affected component
PyTorch PyTorch<2.7.0
Event History
Sep 25, 2025
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Frequently Asked Questions
1
Which PyTorch versions need to be upgraded?
PyTorch versions before 2.7.0 are affected. Upgrade to 2.7.0 or later to address the issue.
2
What conditions are required to trigger the problem?
The issue occurs when bitwise_right_shift is used with certain out-of-bounds values for its "other" argument. Systems that do not invoke this operation with such values are not described as triggering the incorrect output.
3
What is the expected security impact?
The reported impact is limited to availability, with no reported confidentiality or integrity impact. The severity vector indicates no privileges or user interaction are required and low availability impact.