cve.bz

CVE-2025-46153

5.3 mediumEPSS 0.4%

Medium (5.3) in linuxfoundation pytorch. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in torch 2.7.0.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 36% of CVEs (scores of 2026-10-31)
CWE
CWE-1176
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
PYSEC-2025-202PyPItorch>=2.6.0 <2.7.02.7.0

References

Check your stackJSON