---
id: CVE-2025-54950
aliases:
  - GHSA-f9hx-c6jf-3qxm
  - PYSEC-2026-334
title: ExecuTorch out-of-bounds access vulnerability
summary: ExecuTorch out-of-bounds access vulnerability
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: executorch
product: executorch
ecosystem: pip
affected:
  - executorch < 0.7.0
  - 'org.pytorch:executorch-android < 0.7.0'
  - github.com/pytorch/executorch < 0.7.0
patched:
  - executorch 0.7.0
  - 'org.pytorch:executorch-android 0.7.0'
  - github.com/pytorch/executorch 0.7.0
published: '2025-08-08'
updated: '2026-10-27'
sourceUpdated: '2026-10-27T16:45:04.555731495Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-f9hx-c6jf-3qxm'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-54950'
  - url: >-
      https://github.com/pytorch/executorch/commit/b6b7a16df5e7852d976d8c34c8a7e9a1b6f7d005
  - url: >-
      https://github.com/pytorch/executorch/commit/fb03b6f85596a8f954d97929075335255b6a58d4
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-334.yaml
  - url: 'https://github.com/pytorch/executorch'
  - url: 'https://pypi.org/project/executorch'
  - url: 'https://www.facebook.com/security/advisories/cve-2025-54950'
  - url: 'https://github.com/advisories/GHSA-f9hx-c6jf-3qxm'
tags:
  - osv
  - pip
  - ghsa
epss: 0.00619
epssPercentile: 0.49448
cwe:
  - CWE-125
ingestedAt: '2026-10-27T17:33:23.776Z'
---

## Overview

An out-of-bounds access vulnerability 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 fb03b6f85596a8f954d97929075335255b6a58d4.

## Affected packages

- `executorch < 0.7.0`
- `org.pytorch:executorch-android < 0.7.0`
- `github.com/pytorch/executorch < 0.7.0`

## Remediation

Upgrade to a patched release:

- `executorch 0.7.0`
- `org.pytorch:executorch-android 0.7.0`
- `github.com/pytorch/executorch 0.7.0`
