CVE-2025-2148 json
PyTorch Tuple torch.ops.profiler._call_end_callbacks_on_jit_fut memory corruption
published 2025-03-10 19 mo ago modified 2026-09-10 59 d ago also BIT-pytorch-2025-2148 , EUVD-2025-7522 , GHSA-c678-jfcj-6jmf , PYSEC-2025-189
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami pytorch 2.7.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/pytorch/pytorch/issues/147722 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.3 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| CNA | 3.0 | 5.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| CNA | 2.0 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| CNA | 4.0 | 2.3 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/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 |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
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-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/pytorch/pytorch/issues/147722
issue-tracking, exploit, web, report
-
vuldb.com
/?id.299059
vdb-entry, technical-description, web, third-party-advisory, advisory
-
vuldb.com
/?ctiid.299059
signature, permissions-required, web, vdb-entry, report
-
vuldb.com
/?submit.505959
third-party-advisory, web, vdb-entry, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-2148
advisory, web
-
github.com
/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-189.yaml
web
-
github.com
/pytorch/pytorch
package
-
github.com
/pytorch/pytorch/blob/b0a67c7495bb11ecb23e556058db059ba48354af/torch/autograd/profiler.py#L990
web
-
github.com
/advisories/GHSA-c678-jfcj-6jmf
advisory
Sources
- CVE List CVE-2025-2148
- GitHub Advisory GHSA-c678-jfcj-6jmf
- NVD CVE-2025-2148
- OSV BIT-pytorch-2025-2148
- OSV PYSEC-2025-189
Fencer Vulns 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.