Description
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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | PyTorch | 2.6.0+cu124 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pytorch | No fix yet | — |
| Debian 13 | pytorch | No fix yet | — |
| Debian 12 | pytorch | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | pytorch | No fix yet | — |
| Ubuntu 26.04 LTS | pytorch | No fix yet | — |
| Ubuntu 25.10 | pytorch | No fix yet | — |
| Ubuntu 22.04 LTS | pytorch | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | torch | <= 2.6.0 | — | GHSA-x3gm-94wq-g975 |
| PyPI | torch | <= 2.6.0-cu124 | — | PYSEC-2025-190 |
References
- VDB-299060 | PyTorch Quantized Sigmoid Module nnq_Sigmoid initialization vdb-entry technical-description
- VDB-299060 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #506563 | pytorch 2.6.0+cu124 Inconsistency Between Implementation and Documented Design third-party-advisory
- https://github.com/pytorch/pytorch/issues/147818 issue-tracking
- https://github.com/pytorch/pytorch/issues/147818#issue-2877301660 exploit issue-tracking