ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2025-46153

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12pytorch
All versions, no fix listed
Debian:13pytorch
All versions, no fix listed
Debian:14pytorch
All versions before 2.12.0+dfsg2-1 (fixed in 2.12.0+dfsg2-1)

References