Advisory

GHSA-rrmf-rvhw-rf47

Also known as: BIT-pytorch-2025-3000, CVE-2025-3000, PYSEC-2025-194

Summary

PyTorch is vulnerable to memory corruption through its torch.jit.script function

Details

A vulnerability classified as critical has been found in PyTorch 2.6.0. This affects the function torch.jit.script. The manipulation leads to memory corruption. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-03-31 15:30 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

torch

PyPI · All systems

Affected

  • introduced 0, fixed 2.13.0 (ecosystem)

Fixed versions

2.13.0

Fix

  • Fixed version 2.13.0
    pip install --upgrade torch==2.13.0

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences