CVE-2025-46153 Affecting pytorch package, versions <2.12.0+dfsg2-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.42% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-PYTORCH-13096855
  • published27 Sept 2025
  • disclosed25 Sept 2025

Introduced: 25 Sep 2025

CVE-2025-46153  (opens in a new tab)

How to fix?

Upgrade Debian:unstable pytorch to version 2.12.0+dfsg2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pytorch package and not the pytorch package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

PyTorch before 3.7.0 has a bernoulli_p 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 fallback_random=True.