5.3

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

Analyzed
AliasesGHSA-vgrw-7cvw-pwgxBIT-pytorch-2025-2999PYSEC-2025-193
Published 31-03-2025Last modified 31-03-2025

Vulnerability summary

CVE-2025-2999 is a medium (CVSS 5.3) vulnerability in linuxfoundation pytorch. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.20%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 31-03-2025
    PublishedVulnerability first disclosed.
  2. 31-03-2025
    Last modifiedVulnerability information updated.

Description

A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.

CVSS metrics

12 scores · 6 sources · 4 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.20% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pytorch

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • py3.10-torch-2.3-cuda-12.4All versions (No fix recorded)
  • py3.10-torch-2.6-cuda-12.4All versions (No fix recorded)
  • py3.10-torch-2.7-cuda-12.8All versions (No fix recorded)
  • py3.11-torch-2.6-cuda-12.4All versions (No fix recorded)
  • py3.11-torch-2.7-cuda-12.8All versions (No fix recorded)
Debian1 product
  • pytorchAll versions (No fix recorded) | < 2.12.0+dfsg2-1
Linuxfoundation1 product
PyPI1 product
  • torch< 2.9.1 | ≤ 2.6.0-NA
Ubuntu1 product
  • pytorchAll versions (No fix recorded)

5 vendors · 14 products

References

14 links
Show all 14 references