PyTorch up to 2.6.x bitwise_right_shift out-of-bounds write

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Name

Version

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.5
VulDB Meta Temp Score: 3.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds write
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 266102
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-46152

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: PyTorch 2.7.0
Patch: github.com

Timelineinfo

04/22/2025 CVE reserved
09/25/2025 +156 days Advisory disclosed
09/25/2025 +0 days VulDB entry created
09/30/2025 +5 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 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

Entryinfo

Created: 09/25/2025 17:55
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!