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
- MediumARTEX and beyond: AI-enabled penetration testing platformsSimilar attack · Cisco Talos Blog
- InfoHow AI is changing the nature of cyberattacksSimilar attack · CSO Online
- MediumInside the loop: Five AI attack frameworks that never ask permissionSimilar attack · Elastic Security Labs
- MediumARTEX: Attackers Adopted This AI Pentesting Tool in Three Months. Leaked Secrets Are Its Fastest Way In.Similar attack · StepSecurity Blog
- MediumFBI Says North Korean Hackers Stole Over $400 Million in Crypto Using Deepfake Video CallsSimilar attack · The Hacker News