CVE-2025-2148
PyTorch Tuple Handler is Vulnerable to Memory Corruption through Manipulation of None Argument
Auswirkung
A vulnerability was found in PyTorch 2.6.0+cu124. It has been declared as critical. Affected by this vulnerability is the function torch.ops.profiler._call_end_callbacks_on_jit_fut of the component Tuple Handler. The manipulation of the argument None leads to memory corruption. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | torch | <= 2.6.0 | nicht erfasst |
Betroffene Produkte · Linuxfoundation
| Produkt | Betroffene Versionen |
|---|---|
| Pytorch | Version 2.6.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/pytorch/pytorch/issues/147722
- https://vuldb.com/?ctiid.299059
- https://vuldb.com/?id.299059
- https://vuldb.com/?submit.505959
- https://github.com/advisories/GHSA-c678-jfcj-6jmf
- https://nvd.nist.gov/vuln/detail/CVE-2025-2148
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-189.yaml
- https://github.com/pytorch/pytorch/blob/b0a67c7495bb11ecb23e556058db059ba48354af/torch/autograd/profiler.py#L990