CVE Vulnerabilities

CVE-2025-46153

Inefficient CPU Computation

Published: Sep 25, 2025 | Modified: Oct 03, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
4 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product performs CPU computations using algorithms that are not as efficient as they could be for the needs of the developer, i.e., the computations can be optimized further.

Affected Software

NameVendorStart VersionEnd Version
PytorchLinuxfoundation2.6.0 (including)2.7.0 (excluding)
PytorchUbuntuplucky*

References