CVE-2025-46153

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:linuxfoundation:pytorch:*:-:*:*:*:python:*:*

History

05 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) PyTorch anterior a la versión 3.7.0 tiene una función de descomposición bernoulli_p en decompositions.py a pesar de que carece de plena consistencia con la implementación eager de CPU, afectando negativamente a nn.Dropout1d, nn.Dropout2d y nn.Dropout3d para fallback_random=True.

03 Oct 2025, 17:56

Type Values Removed Values Added
References () https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a - () https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a - Third Party Advisory
References () https://gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a - () https://gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a - Third Party Advisory
References () https://github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0 - () https://github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0 - Product
References () https://github.com/pytorch/pytorch/issues/142853 - () https://github.com/pytorch/pytorch/issues/142853 - Issue Tracking
References () https://github.com/pytorch/pytorch/pull/143460 - () https://github.com/pytorch/pytorch/pull/143460 - Issue Tracking, Patch
First Time Linuxfoundation pytorch
Linuxfoundation
CPE cpe:2.3:a:linuxfoundation:pytorch:*:-:*:*:*:python:*:*

25 Sep 2025, 19:15

Type Values Removed Values Added
CWE CWE-1176
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3

25 Sep 2025, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-25 15:16

Updated : 2026-11-05 23:10


NVD link : CVE-2025-46153

Mitre link : CVE-2025-46153

CVE.ORG link : CVE-2025-46153


JSON object : View

Products Affected

linuxfoundation

  • pytorch
CWE
CWE-1176

Inefficient CPU Computation