Advisory

PYSEC-2026-336

Also known as: CVE-2025-54951, GHSA-xc7w-r669-48pf

Summary

ExecuTorch vulnerable to Heap-based Buffer Overflow

Details

A group of related buffer overflow vulnerabilities in the loading of ExecuTorch models can cause the runtime to crash and potentially result in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit cea9b23aa8ff78aff92829a466da97461cc7930c.

Severity

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

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

executorch

PyPI · All systems

Affected

  • introduced 0, fixed 0.7.0 (ecosystem)

Fixed versions

0.7.0

Fix

  • Fixed version 0.7.0
    pip install --upgrade executorch==0.7.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: PyPA Advisory Database · CC BY 4.0

Sources & licences