PYSEC-2025-202

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/torch/PYSEC-2025-202.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2025-202
Aliases
Published
2025-09-25T15:16:12.603Z
Modified
2026-05-20T09:19:19.678555Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

PyPI / torch

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.0
Fixed
2.7.0

Affected versions

2.*
2.6.0

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/torch/PYSEC-2025-202.yaml"