5.3

CVE-2025-2998: linuxfoundation pytorch

CVSS: 5.3v3.1MediumAnalyzed
AliasesGHSA-f4hp-rmr7-r7v8BIT-pytorch-2025-2998PYSEC-2025-192
Published 31-03-2025Last modified 31-03-2025

Vulnerability summary

CVE-2025-2998 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 9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
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 listedIn no KEV catalog
RansomwareNone recordedNo known 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 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.

CVSS metrics

12 scores · 6 sources · 4 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

0.00 pp

From 0.20% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.20%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Pytorch

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard5 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.11-torch-2.6-cuda-12.4All versions (No fix recorded)
  • py3.12-torch-2.6-cuda-12.4All versions (No fix recorded)
  • py3.13-torch-2.6-cuda-12.4All versions (No fix recorded)
Debian1 product
  • pytorchAll versions (No fix recorded) | < 2.12.0+dfsg2-1
Linuxfoundation1 product
PyPI1 product
  • torch≤ 2.6.0 | ≤ 2.6.0-NA
Ubuntu1 product
  • pytorchAll versions (No fix recorded)

5 vendors · 9 products

References

14 links
Show all 14 references