Skip to content
OpenAdvisories
Low · 3.3 CVE-2025-3730 BIT-pytorch-2025-3730EUVD-2025-11538GHSA-887c-mr87-cxwpPYSEC-2026-1970

PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service

Published Apr 16, 2025 · Updated May 22, 2025 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
— PyTorch 2.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pytorch 2.12.0+dfsg2-1 —
Debian 13 pytorch No fix yet —
Debian 12 pytorch No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pytorch No fix yet —
Ubuntu 26.04 LTS pytorch No fix yet —
Ubuntu 25.10 pytorch No fix yet —
Ubuntu 22.04 LTS pytorch No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 pytorch 2.2.2-6 —
Azure Linux 2 (CBL-Mariner) pytorch 2.0.0-8 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI torch < 2.8.0 2.8.0 GHSA-887c-mr87-cxwp

Advisories 1

References