---
id: CVE-2025-54952
aliases:
  - GHSA-33r8-vrx9-rmcv
  - PYSEC-2026-1351
title: ExecuTorch integer overflow vulnerability leads to code execution
summary: ExecuTorch integer overflow vulnerability leads to code execution
severity: medium
vendor: executorch
product: executorch
ecosystem: pip
affected:
  - executorch <= 0.6.0
published: '2025-08-08'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-33r8-vrx9-rmcv'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-54952'
  - url: >-
      https://github.com/pytorch/executorch/commit/8f062d3f661e20bb19b24b767b9a9a46e8359f2b
  - url: 'https://github.com/pytorch/executorch'
  - url: 'https://www.facebook.com/security/advisories/cve-2025-54952'
tags:
  - osv
  - pip
epss: 0.00593
epssPercentile: 0.47054
ingestedAt: '2026-07-08T18:25:44.663Z'
---

## Overview

An integer overflow vulnerability in the loading of ExecuTorch models can cause smaller-than-expected memory regions to be allocated, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit 8f062d3f661e20bb19b24b767b9a9a46e8359f2b.

## Affected packages

- `executorch <= 0.6.0`

## Remediation

Refer to the advisory for the patched release.
