MEDIUM · CVSS 5.3 Published: 2025-03-31
CVE-2025-2998 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-2998 |
|---|---|
| Base Severity / Score | MEDIUM (5.3 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| Weakness Classification | CWE-119 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/pytorch/pytorch/issues/149622
- https://github.com/pytorch/pytorch/issues/149622#issue-2935495265
- https://vuldb.com/?ctiid.302047
Related Security Advisories
CVE-2025-29979 HIGH 7.8
CVE-2025-29980 CRITICAL 9.8
CVE-2025-29982 MEDIUM 6.8
CVE-2025-29983 MEDIUM 6.7
CVE-2025-29984 MEDIUM 6.7
CVE-2025-29985 MEDIUM 6.5
CVE-2025-29988 MEDIUM 6.9
CVE-2025-2999 MEDIUM 5.3