Memory Corruption Vulnerability in PyTorch by Meta AI
CVE-2025-2998

4.8MEDIUM

Key Information:

Vendor
Meta AI
Status
Pytorch
Vendor
CVE Published:
31 March 2025

Badges

👾 Exploit Exists🟡 Public PoC

Summary

A memory corruption vulnerability exists in the torch.nn.utils.rnn.pad_packed_sequence function of PyTorch version 2.6.0. This issue requires local access for exploitation, potentially allowing an attacker to manipulate memory allocation, leading to segmentation faults or unexpected behavior in applications utilizing the affected function. The vulnerability has been publicly disclosed, making it essential for developers and system administrators to apply mitigations promptly.

Affected Version(s)

PyTorch 2.6.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
4.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Default436352 (VulDB User)
.