MediumVulnerability
CVE-2025-2998: PyTorch memory corruption in pad_packed_sequence via local access
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-2998
- Published
- Record updated
- Affected
- torch <= 2.6.0
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
CVE-2025-2998 is a flaw in PyTorch 2.6.0, affecting the function torch.nn.utils.rnn.pad_packed_sequence. Manipulating it leads to memory corruption, and it is classified under CWE-119. Local access is required, and the exploit has been publicly disclosed.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- torchPyPINo LLM dependency detected · 200 tracked dependents
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online