CVE-2025-3000
PyTorch torch.jit.script memory corruption
Reported by vuldb · Published March 31, 2025
torch is fixed in 2.13.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| torch | PyPI | 2.13.0 |
| py3-torch-cuda-12.6 | Chainguard | 2.12.1-r0 |
| nemo | Chainguard | 2.7.3-r6 |
| py3-torch-cuda-13.2 | Chainguard | 2.12.1-r0 |
| open-webui | Wolfi | 0.9.6-r5 |
| py3-torch-cuda-13.1 | Chainguard | 2.12.1-r0 |
| vllm-cuda-13.2 | Chainguard | 0.27.1-r0 |
| open-webui | Chainguard | 0.9.6-r5 |
| lmcache-cuda-13.0 | Chainguard | 0.5.3-r1 |
| py3-torch-cuda-12.8 | Chainguard | 2.12.1-r0 |
| py3-torch-cuda-13.3 | Chainguard | 2.12.1-r0 |
| py3-torch-cuda-12.9 | Chainguard | 2.12.1-r0 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | PyTorch | 2.6.0 |
| chainguard | py3-torch-cuda-12.6 | 0 |
| chainguard | nemo | 0 |
| chainguard | py3-torch-cuda-13.2 | 0 |
| wolfi | open-webui | 0 |
| chainguard | py3-torch-cuda-13.1 | 0 |
| chainguard | vllm-cuda-13.2 | 0 |
| chainguard | open-webui | 0 |
| chainguard | lmcache-cuda-13.0 | 0 |
| chainguard | py3-torch-cuda-12.8 | 0 |
| chainguard | py3-torch-cuda-13.3 | 0 |
| chainguard | py3-torch-cuda-12.9 | 0 |
| chainguard | py3-torch-cuda-13.0 | 0 |
| PyPI | torch | 0 |
| n/a | PyTorch | 2.6.0 |
| chainguard | vllm-openai-cuda-12.9 | 0 |
| chainguard | tritonserver-backend-vllm-cuda-13.0 | 0 |
| chainguard | vllm-openai-cuda-13.0 | 0 |
| chainguard | py3-torch-cuda-12.4 | 0 |
Timeline
- Mar 31, 2025 CVE Published
- Mar 31, 2025 Coalition ESS Score (19 in total, the first dated here)
- Apr 1, 2025 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-3000
vulnetix vdb fixes CVE-2025-3000
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-3000/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- VDB-302049 | PyTorch torch.jit.script memory corruption vdb-entrytechnical-description
- VDB-302049 | CTI Indicators (IOB, IOC, IOA) signaturepermissions-required
- Submit #524197 | pytorch pytorch (torch.jit.script) torch 2.6.0 Segmentation Fault third-party-advisory
- issue-tracking
- exploitissue-tracking
- https://nvd.nist.gov/vuln/detail/CVE-2025-3000 advisory
- https://github.com/advisories/GHSA-rrmf-rvhw-rf47 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-194.yaml advisory
- https://github.com/pytorch/pytorch/commit/b90c94991cdf8b87c8f7439f79518e0ef2c4ca4f patch