5.5

CVE-2025-3730: PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service

Analyzed
AliasesGHSA-887c-mr87-cxwpBIT-pytorch-2025-3730PYSEC-2026-1970
Published 16-04-2025Last modified 22-05-2025

Vulnerability summary

CVE-2025-3730 is a medium (CVSS 5.5) Improper Resource Shutdown or Release vulnerability in linuxfoundation pytorch. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 29.1% of scored vulnerabilities. 2 public exploits are 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.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.34%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 16-04-2025
    PublishedVulnerability first disclosed.
  2. 22-05-2025
    Last modifiedVulnerability information updated.

Description

A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Affected is the function torch.nn.functional.ctc_loss of the file aten/src/ATen/native/LossCTC.cpp. The manipulation leads to denial of service. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The name of the patch is 46fc5d8e360127361211cb237d5f9eef0223e567. It is recommended to apply a patch to fix this issue. The security policy of the project warns to use unknown models which might establish malicious effects.

CVSS metrics

13 scores · 6 sources · 4 versions

EPSS trend

Probability

0.34%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.33% 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

2 found
  • githubUnverified

    Pytorch

    Maturity: poc

  • referenceUnverified

    Exploit Reference (vuldb.com)

    Maturity: unknown

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.

Chainguard11 products
  • py3-torch-2.7-cuda-12.8< 2.7.1-r7
  • 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.8< 2.7.1-r7
  • py3.11-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.8.0
Ubuntu1 product
  • pytorchAll versions (No fix recorded)

5 vendors · 15 products

References

16 links
Show all 16 references