PyTorch up to 2.6.x bitwise_right_shift out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.4 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in PyTorch up to 2.6.x. Affected by this issue is the function bitwise_right_shift. Executing a manipulation can lead to an unknown weakness.
This vulnerability is handled as CVE-2025-46152. There is not any exploit available.
Upgrading the affected component is recommended.
Details
A vulnerability has been found in PyTorch up to 2.6.x and classified as problematic. The CWE definition for the vulnerability is CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect integrity. CVE summarizes:
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
The advisory is shared for download at github.com. This vulnerability was named CVE-2025-46152 since 04/22/2025. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 266102 (Linux Distros Unpatched Vulnerability : CVE-2025-46152), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.7.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (266102) and CERT Bund (WID-SEC-2025-2139). Once again VulDB remains the best source for vulnerability data.
Affected
- Open Source PyTorch
Product
Name
Version
Website
- Product: https://github.com/pytorch/pytorch/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 266102
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-46152
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: PyTorch 2.7.0
Patch: github.com
Timeline
04/22/2025 CVE reserved09/25/2025 Advisory disclosed
09/25/2025 VulDB entry created
09/30/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 143555
Status: Confirmed
CVE: CVE-2025-46152 (🔒)
GCVE (CVE): GCVE-0-2025-46152
GCVE (VulDB): GCVE-100-325876
CERT Bund: WID-SEC-2025-2139 - PyTorch: Mehrere Schwachstellen
Entry
Created: 09/25/2025 17:55Updated: 09/30/2025 07:09
Changes: 09/25/2025 17:55 (54), 09/26/2025 06:28 (1), 09/27/2025 06:14 (7), 09/30/2025 07:09 (2)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.