Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. torch
  4. ›
  5. CVE-2025-2149

CVE-2025-2149: PyTorch: Manipulation of the argument scale/zero_point leads to improper initialization via Quantized Sigmoid Module

March 10, 2025 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-x3gm-94wq-g975
  • github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-190.yaml
  • github.com/pytorch/pytorch/issues/147818
  • github.com/pytorch/pytorch/issues/147818
  • nvd.nist.gov/vuln/detail/CVE-2025-2149
  • vuldb.com/?ctiid.299060
  • vuldb.com/?id.299060
  • vuldb.com/?submit.506563

Code Behaviors & Features

Detect and mitigate CVE-2025-2149 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.6.0

Solution

Unfortunately, there is no solution available yet.

Impact 2.5 LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-665: Improper Initialization

Source file

pypi/torch/CVE-2025-2149.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 24 Jun 2026 12:19:56 +0000.