{"id":"CVE-2025-54951","aliases":["CVE-2025-54951","GHSA-xc7w-r669-48pf","PYSEC-2026-336"],"related":[],"kind":"vulnerability","state":"published","title":"ExecuTorch vulnerable to Heap-based Buffer Overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un grupo de vulnerabilidades relacionadas con el desbordamiento de búfer en la carga de modelos de ExecuTorch puede provocar un bloqueo del entorno de ejecución y, potencialmente, la ejecución de código u otros efectos no deseados. Este problema afecta a ExecuTorch antes del commit cea9b23aa8ff78aff92829a466da97461cc7930c.","source":"nvd"}],"published":"2025-08-07T23:06:02.059Z","modified":"2026-10-27T16:45:04.559Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"git","introduced":"0","fixed":"https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c","status":"affected"}],"vendor":"Meta Platforms, Inc","product":"ExecuTorch","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"PyPI","package":"executorch","purl":"pkg:pypi/executorch","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"Maven","package":"org.pytorch:executorch-android","purl":"pkg:maven/org.pytorch/executorch-android","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"SwiftURL","package":"github.com/pytorch/executorch","purl":"pkg:swift/github.com/pytorch/executorch","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"PyPI","package":"executorch","purl":"pkg:pypi/executorch","source":"pysec"}],"references":[{"url":"https://www.facebook.com/security/advisories/cve-2025-54951","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pytorch/executorch/commit/cea9b23aa8ff78aff92829a466da97461cc7930c","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54951","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-336.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pytorch/executorch","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/executorch","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-xc7w-r669-48pf","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"facebook","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-08-12T14:20:19.866Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54951","url":"https://www.cve.org/CVERecord?id=CVE-2025-54951","licence":"CVE Terms of Use","modified":"2025-08-12T14:20:40.207Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xc7w-r669-48pf","url":"https://github.com/advisories/GHSA-xc7w-r669-48pf","licence":"CC-BY-4.0","modified":"2026-10-27T16:45:04.559Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54951","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54951","licence":"Public domain","modified":"2026-06-17T09:40:59.133Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-336","url":"https://osv.dev/vulnerability/PYSEC-2026-336","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:52.488Z"}],"updatedAt":"2026-11-25T22:59:02.197Z","epss":{"score":0.00734,"percentile":0.55635,"date":"2026-12-01T12:00:22.000Z"}}