CVE-2025-46153
mediumPyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks full consistency with the eager CPU implementation, negativ…
Vendor / product: Linuxfoundation — pytorch
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.
CVSS
5.3
5.3 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Severity source: NVD CVSS v3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
Timeline (UTC)
Published: 2025-09-25 15:16
Modified: 2026-11-05 23:10
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-05 23:24 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
linuxfoundation / pytorch ≥2.6.0 <2.7.0
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Patch / mitigation: https://github.com/pytorch/pytorch/pull/143460
References
- https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a cve@mitre.org
- https://gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a cve@mitre.org
- https://github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0 cve@mitre.org
- https://github.com/pytorch/pytorch/issues/142853 cve@mitre.org
- https://github.com/pytorch/pytorch/pull/143460 cve@mitre.org
Data sources
NVD CVE API 2.0 — fetched 2026-11-05 23:24 UTC · record ↗

