Description
A vulnerability classified as critical has been found in PyTorch 2.6.0. This affects the function torch.jit.script. The manipulation leads to memory corruption. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | PyTorch | 2.6.0 | — |
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 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | open-webui | 0.9.6-r5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | torch | < 2.13.0 | 2.13.0 | GHSA-rrmf-rvhw-rf47 |
| PyPI | torch | <= 2.6.0-NA | — | PYSEC-2025-194 |
Advisories 1
- WID-SEC-2025-0666 PyTorch: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Mar 31, 2025
References
- VDB-302049 | PyTorch torch.jit.script memory corruption vdb-entry technical-description
- VDB-302049 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #524197 | pytorch pytorch (torch.jit.script) torch 2.6.0 Segmentation Fault third-party-advisory
- https://github.com/pytorch/pytorch/issues/149623 issue-tracking
- https://github.com/pytorch/pytorch/issues/149623#issue-2935703015 exploit issue-tracking