Vulnerabilities

CVE-2025-46153

Medium 5.3 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-09-25
Last modified
2026-11-05
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Scored by
134c704f-9b21-4f2e-91b3-4a467353bcc0
Probability of exploitation
0.4 % higher than 32 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linuxfoundation Pytorch ≥ 2.6.0, < 2.7.0 Affected

Weakness type

  • CWE-1176: Inefficient CPU Computation

    The product performs CPU computations using algorithms that are not as efficient as they could be for the needs of the developer, i.e., the computations can be optimized further.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities