Skip to content
MediumVulnerability

CVE-2025-2998: PyTorch memory corruption in pad_packed_sequence via local access

Identifier
CVE-2025-2998
Published
Record updated
View JSON
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.