# CVE-2025-2999: PyTorch torch.nn.utils.rnn.unpack\_sequence memory corruption

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-31 · Modified: 2025-03-31
- Aliases: GHSA-vgrw-7cvw-pwgx, BIT-pytorch-2025-2999, PYSEC-2025-193, UBUNTU-CVE-2025-2999, DEBIAN-CVE-2025-2999, CGA-497m-vcjc-833w, CGA-6c7h-hj3q-j2c4, CGA-6rj5-4hgq-gc5p, CGA-7hpc-36wg-9j5c, CGA-7p65-4hfw-h9f7, CGA-8wmp-q9p8-66hp, CGA-crf2-c2hr-gfq9, CGA-fxm2-44hg-g6jx, CGA-gx83-47q2-w59j, CGA-hgq5-49c4-x59p, CGA-j4mj-93rv-4jq6, CGA-j5x2-97hv-4h75, CGA-jg67-2fgp-h849, CGA-jh82-vgvv-2q8q, CGA-pg67-6qmf-v578, CGA-pwwm-83jp-hfvq, CGA-rp42-6cwq-fm75, CGA-vxm6-7wpv-w3xx
- Record: https://cvemate.com/vulnerability/CVE-2025-2999 · JSON: https://cvemate.com/vulnerability/CVE-2025-2999/json

## Description

```text
A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.202%, percentile 10.684%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard py3.10-torch-2.3-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-torch-2.6-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-torch-2.7-cuda-12.8 (Chainguard): All versions (No fix recorded)
- chainguard py3.11-torch-2.6-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.11-torch-2.7-cuda-12.8 (Chainguard): All versions (No fix recorded)
- chainguard py3.12-torch-2.6-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.12-torch-2.7-cuda-12.8 (Chainguard): All versions (No fix recorded)
- chainguard py3.13-torch-2.6-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.13-torch-2.7-cuda-12.8 (Chainguard): All versions (No fix recorded)
- chainguard tritonserver-backend-vllm-cuda-12.9 (Chainguard): All versions (No fix recorded)
- debian pytorch (Debian): All versions (No fix recorded) \| \< 2.12.0+dfsg2-1
- ubuntu pytorch (Ubuntu): All versions (No fix recorded)
- linuxfoundation pytorch: 2.6.0
- PyPI torch (PyPI): \< 2.9.1 \| ≤ 2.6.0-NA

## References

- <https://vuldb.com/?id.302048>
- <https://vuldb.com/?ctiid.302048>
- <https://vuldb.com/?submit.524198>
- <https://github.com/pytorch/pytorch/issues/149622>
- <https://github.com/pytorch/pytorch/issues/149622#issue-2935495265>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2999>
- <https://github.com/pytorch/pytorch/commit/494518046816d29099b7d056a74ffa5c244fdcdd>
- <https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-193.yaml>
- <https://github.com/pytorch/pytorch>
- <https://github.com/advisories/GHSA-vgrw-7cvw-pwgx>
- <https://ubuntu.com/security/CVE-2025-2999>
- <https://www.cve.org/CVERecord?id=CVE-2025-2999>
- <https://security-tracker.debian.org/tracker/CVE-2025-2999>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2999.json>

---

Data as of 2026-12-05T09:08:49.134Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
