CVE-2025-46152: 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

13 affected componentsFixes available
PyTorch PyTorch<2.7.0
Microsoft cbl2 pytorch 2.0.0-9
Microsoft azl3 pytorch 2.2.2-7
Microsoft azl3 pytorch 2.2.2-9
linuxfoundation Pytorch Python>=2.6.0<2.7.0
debian/pytorch*
debian/pytorch*
debian/pytorch<2.12.0+dfsg2-1
2.12.0+dfsg2-1
debian/pytorch<=1.13.1+dfsg-4, <=2.6.0+dfsg-7
2.14.1+dfsg-1
ubuntu/pytorch*
ubuntu/pytorch*
ubuntu/pytorch*
ubuntu/pytorch*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/pytorch to a version that resolves this vulnerability.

    Fixed in 2.12.0+dfsg2-1
  2. Upgrade

    Upgrade debian/pytorch to a version that resolves this vulnerability.

    Fixed in 2.14.1+dfsg-1

Event History

Sep 25, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
Description
Data Sourced
via NVD·07:15 PM
SeverityWeakness
Sep 29, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:01 AM
Affected Software
Updated
via Microsoft·01:01 AM
Affected Software
Oct 3, 2025
Data Sourced
via NVD·05:57 PM
RemedyAffected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-46152?

CVE-2025-46152 has a severity rating of medium due to potential incorrect outputs from bitwise operations.

2

How do I fix CVE-2025-46152?

To fix CVE-2025-46152, upgrade your PyTorch version to 2.7.0 or later, where the issue is resolved.

3

What versions of PyTorch are affected by CVE-2025-46152?

CVE-2025-46152 affects all versions of PyTorch before 2.7.0.

4

What is the nature of the issue in CVE-2025-46152?

The issue in CVE-2025-46152 involves the bitwise_right_shift function producing incorrect output for certain out-of-bounds values.

5

Is CVE-2025-46152 a critical vulnerability?

CVE-2025-46152 is not classified as critical, but it can lead to incorrect calculations that may affect applications relying on PyTorch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203