Advisory

PYSEC-2025-197

Also known as: BIT-pytorch-2025-3136, CVE-2025-3136

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-04-03 04:15 UTC
Modified
2026-05-21 15:00 UTC

Affected packages and fixes

torch

PyPI · All systems

Affected

  • introduced 0, last affected 2.6.0-NA (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences