CVE-2025-46153: Medium severity PyTorch PyTorch vulnerability

Published Sep 25, 2025
·
Updated

PyTorch before 3.7.0 has a bernoullip decompose function in decompositions.py even though it lacks full consistency with the eager CPU implementation, negatively affecting nn.Dropout1d, nn.Dropout2d, and nn.Dropout3d for fallbackrandom=True.

Affected Software

4 affected components
PyTorch PyTorch<3.7.0
linuxfoundation Pytorch Python>=2.6.0<2.7.0
Microsoft azl3 pytorch 2.2.2-7
Microsoft cbl2 pytorch 2.0.0-9

Event History

Sep 25, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 2, 2025
Data Sourced
via Microsoft·01:04 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:04 AM
Affected Software
Updated
via Microsoft·01:04 AM
Affected Software
Updated
via Microsoft·01:04 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-46153?

CVE-2025-46153 has been classified as a moderate severity vulnerability that affects the functionality of dropout layers in PyTorch.

2

How do I fix CVE-2025-46153?

To fix CVE-2025-46153, update PyTorch to version 3.7.0 or later which addresses the inconsistency issue.

3

What software is affected by CVE-2025-46153?

CVE-2025-46153 affects versions of PyTorch prior to 3.7.0.

4

What problems does CVE-2025-46153 cause in PyTorch?

CVE-2025-46153 negatively affects nn.Dropout1d, nn.Dropout2d, and nn.Dropout3d leading to potential inconsistencies in random number generation during dropout.

5

Is there a workaround for CVE-2025-46153 if I cannot upgrade?

A temporary workaround for CVE-2025-46153 involves avoiding the use of dropout layers with fallback_random set to true until an upgrade can be performed.

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