Advisory

PYSEC-2025-196

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

Summary

The record has no summary.

Details

A vulnerability classified as problematic has been found in PyTorch 2.6.0. Affected is the function torch.jit.jit_module_from_flatbuffer. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-04-02 22: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