CVE-2025-2149
Pytorch vulnerability
A vulnerability was found in PyTorch 2.6.0+cu124. It has been rated as problematic. Affected by this issue is the function nnq_Sigmoid of the component Quantized Sigmoid Module. The manipulation of the argument scale/zero_point leads to improper initialization. The attack needs to be approached locally. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used.
Affected products
Pytorch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pytorch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- vuldb.com/?id.299060 · Third Party Advisory
- vuldb.com/?submit.506563 · Exploit
- github.com/pytorch/pytorch/issues/147818
- github.com/pytorch/pytorch/issues/147818#issue-2877301660
- vuldb.com/?ctiid.299060
- nvd.nist.gov/vuln/detail/CVE-2025-2149
- github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-190.yaml
- github.com/advisories/GHSA-x3gm-94wq-g975
- nvd.nist.gov/vuln/detail/CVE-2025-2149
- cve.org/CVERecord?id=CVE-2025-2149
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.