CVE-2025-2149 json
PyTorch Quantized Sigmoid Module nnq_Sigmoid initialization
published last yr. modified 2mo ago also BIT-pytorch-2025-2149 , EUVD-2025-7523 , GHSA-x3gm-94wq-g975 , PYSEC-2025-190
- cvss
- 2.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami pytorch 2.7.0
Is CVE-2025-2149 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/pytorch/pytorch/issues/147818 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/pytorch/pytorch/issues/147818#issue-2877301660 referenced PoC, tagged "exploit" by a source, unverified
- vuldb.com https://vuldb.com/?submit.506563 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 3.1 | 2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.0 | 2.5 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CNA | 2.0 | 1.0 | AV:L/AC:H/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CNA | 4.0 | 2.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | torch | <=2.6.0 <=2.6.0-cu124 |
no fix listed |
| bitnami | pytorch | >=2.6.0, <2.7.0 |
2.7.0 |
Affected products
- n/a PyTorch
Classification
- Weakness
-
- CWE-665 Improper Initialization
References
-
github.com
/pytorch/pytorch/issues/147818
issue-tracking, exploit, web, report
-
github.com
/pytorch/pytorch/issues/147818#issue-2877301660
exploit, issue-tracking, web, report
-
vuldb.com
/?submit.506563
third-party-advisory, web, exploit, vdb-entry, advisory, evidence
-
vuldb.com
/?id.299060
vdb-entry, technical-description, web, third-party-advisory, advisory
-
vuldb.com
/?ctiid.299060
signature, permissions-required, web, vdb-entry, report
-
nvd.nist.gov
/vuln/detail/CVE-2025-2149
advisory, web
-
github.com
/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-190.yaml
web
-
github.com
/pytorch/pytorch
package
-
github.com
/advisories/GHSA-x3gm-94wq-g975
advisory
Sources
- CVE List CVE-2025-2149
- GitHub Advisory GHSA-x3gm-94wq-g975
- NVD CVE-2025-2149
- OSV BIT-pytorch-2025-2149
- OSV PYSEC-2025-190
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.