Buffer overflow in Linuxfoundation Pytorch
CVE-2025-46152
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.005 (38.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 38.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/pytorch/pytorch/issues/143555 (Issue Tracking)
- github.com/pytorch/pytorch/pull/143635 (Patch, Issue Tracking)
- gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-46152?
- CVE-2025-46152 is a medium-severity vulnerability in Linuxfoundation Pytorch, classified under Out-of-bounds Write. CVSS score: 5.3/10. Published 2025-09-25.
- How severe is CVE-2025-46152?
- Medium severity. CVSS v3 base score is 5.3 out of 10.