Skip to content
MediumVulnerability

CVE-2025-2999: PyTorch memory corruption in torch.nn.utils.rnn.unpack_sequence

Identifier
CVE-2025-2999
Published
Record updated
View JSON
Affected
  • torch < 2.9.1
Fixed in
2.9.1
  • released November 12, 2025, 226 days after disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

CVE-2025-2999 is a memory corruption flaw in PyTorch 2.6.0, rated critical, affecting the function torch.nn.utils.rnn.unpack_sequence. An attacker needs local access to exploit it, and the exploit has been publicly disclosed. VulDB rates it CVSS 4.0 4.8 (Medium), while NVD has not yet provided an assessment.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.