Vulnerability · Published Sep 25, 2025 · Assigned by mitre
CVE-2025-46152
Medium 5.3
In plain English
A medium-severity out-of-bounds write in the pytorch package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 60.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pytorch | no fix listed | DEBIAN-CVE-2025-46152 |
| Debian:13 | pytorch | no fix listed | DEBIAN-CVE-2025-46152 |
| Debian:14 | pytorch | 2.12.0+dfsg2-1 | DEBIAN-CVE-2025-46152 |
| PyPI | torch | 2.7.0 | PYSEC-2025-201 |
| Ubuntu:22.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-46152 |
| Ubuntu:25.10 | pytorch | no fix listed | UBUNTU-CVE-2025-46152 |
| Ubuntu:26.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-46152 |
| Ubuntu:26.10 | pytorch | no fix listed | UBUNTU-CVE-2025-46152 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L