CVE-2025-3000
MEDIUM 4.8CVSS 4.0PyTorch is vulnerable to memory corruption through its torch.jit.script function
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.
- Published
- 31 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-119
- Also known as
- BIT-pytorch-2025-3000GHSA-rrmf-rvhw-rf47PYSEC-2025-194
- Sources
- NVDJSONOSV GHSA-rrmf-rvhw-rf47JSONOSV PYSEC-2025-194JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 4.8 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/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 | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | pytorchcpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:* |
= 2.6.0 | |
| OSV | PyPI | torch | < 2.13.0 | 2.13.0 |
| OSV | PyPI | torch | <= 2.6.0-NA |
References
- https://github.com/pytorch/pytorch/issues/149623 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://github.com/pytorch/pytorch/issues/149623#issue-2935703015 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://vuldb.com/?ctiid.302049 · Permissions Required, VDB Entry, WEB, REPORT
- https://vuldb.com/?id.302049 · Third Party Advisory, VDB Entry, WEB, ADVISORY
- https://vuldb.com/?submit.524197 · Third Party Advisory, VDB Entry, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-3000 · ADVISORY
- https://github.com/pytorch/pytorch/commit/b90c94991cdf8b87c8f7439f79518e0ef2c4ca4f · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-194.yaml · WEB
- https://github.com/pytorch/pytorch · PACKAGE
- https://github.com/advisories/GHSA-rrmf-rvhw-rf47 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 31 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2025)