CVE-2025-46153
5.3
MEDIUM
CVSS 3.1
EPSS 0.10%
Description
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.
How to fix CVE-2025-46153
To remediate CVE-2025-46153, upgrade the affected package to a fixed version below.
- Bitnami/pytorch—upgrade to 2.7.0 or later
- —no fix listed
- —upgrade to 2.7.0 or later
Is CVE-2025-46153 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 2.6.0, < 2.7.0
- from 0
- >= 2.6.0, < 2.7.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |