Advisory

PYSEC-2025-193

Also known as: BIT-pytorch-2025-2999, CVE-2025-2999, GHSA-vgrw-7cvw-pwgx

Summary

The record has no summary.

Details

A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.

Severity

Not rated by the source.

Dates

Published
2025-03-31 15:15 UTC
Modified
2026-07-13 16:45 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