CVE-2025-2998

PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption

MEDIUM
5.3
CVSS Score
Published: March 31, 2025 at 02:00 PM UTC
Updated: June 17, 2026 at 09:08 AM UTC
1 product affected across 1 vendorPytorch

Using PyTorch by N/A?

Get instant alerts when new vulnerabilities affect PyTorch - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.2%
SSVC
PoC

Description

A vulnerability was found in PyTorch 2.6.0. It has been declared as critical. Affected by this vulnerability is the function torch.nn.utils.rnn.pad_packed_sequence. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

SignaturePermissions RequiredVDB Entry
https://vuldb.com/?ctiid.302047
VDB EntryTechnical DescriptionThird Party Advisory
https://vuldb.com/?id.302047
Third Party AdvisoryVDB Entry
https://vuldb.com/?submit.524151

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.3MEDIUMVulDB
Vector?

Quick Info

StatusANALYZED
CWE
CWE-119

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card