Skip to content
OpenAdvisories
Low · 3.3 CVE-2025-3136 BIT-pytorch-2025-3136EUVD-2025-9636GHSA-r37f-v2p6-x6cxPYSEC-2025-197

PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption

Published Apr 3, 2025 · Updated Apr 3, 2025 · Assigned by VulDB

Description

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0. This issue affects the function torch.cuda.memory.caching_allocator_delete of the file c10/cuda/CUDACachingAllocator.cpp. The manipulation leads to memory corruption. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

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 No fix yet —
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 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI torch <= 2.6.0-NA — PYSEC-2025-197

Advisories 1

References