Medium severity5.3NVD Advisory· Published Mar 31, 2025· Updated Jun 17, 2026
CVE-2025-2998
CVE-2025-2998
Description
A vulnerability was found in PyTorch 2.6.0. It has been declared as critical. Affected by this vulnerability is the function torch.nn.utils.rnn.pad_packed_sequence. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
torchPyPI | <= 2.6.0 | — |
Affected products
3Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-f4hp-rmr7-r7v8ghsaADVISORY
- github.com/pytorch/pytorch/issues/149622nvdIssue TrackingVendor AdvisoryWEB
- github.com/pytorch/pytorch/issues/149622nvdIssue TrackingVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-2998ghsaADVISORY
- vuldb.comnvdThird Party AdvisoryVDB EntryWEB
- vuldb.comnvdThird Party AdvisoryVDB EntryWEB
- github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-192.yamlghsaWEB
- github.com/pytorch/pytorch/commit/494518046816d29099b7d056a74ffa5c244fdcddghsaWEB
- vuldb.comnvdPermissions RequiredVDB EntryWEB
News mentions
0No linked articles in our index yet.