{
  "affected": [
    {
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-9m39-3mf3-xwch/GHSA-9m39-3mf3-xwch.json"
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "executorch",
        "purl": "pkg:pypi/executorch"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.7.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.1.0",
        "0.1.2",
        "0.2.0",
        "0.2.1",
        "0.3.0",
        "0.4.0",
        "0.5.0",
        "0.6.0"
      ]
    },
    {
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-9m39-3mf3-xwch/GHSA-9m39-3mf3-xwch.json"
      },
      "package": {
        "ecosystem": "Maven",
        "name": "org.pytorch:executorch-android",
        "purl": "pkg:maven/org.pytorch/executorch-android"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.7.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.5.0",
        "0.5.1",
        "0.6.0",
        "0.6.0-rc1",
        "0.6.0-rc3",
        "0.6.0-rc4",
        "0.6.0-rc6",
        "0.7.0-rc1",
        "0.7.0-rc2",
        "0.7.0-rc5"
      ]
    },
    {
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-9m39-3mf3-xwch/GHSA-9m39-3mf3-xwch.json"
      },
      "package": {
        "ecosystem": "SwiftURL",
        "name": "github.com/pytorch/executorch",
        "purl": "pkg:swift/github.com/pytorch/executorch"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.7.0"
            }
          ],
          "type": "SEMVER"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-54949",
    "PYSEC-2026-333"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-122"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-08-12T18:49:44Z",
    "nvd_published_at": "2025-08-07T23:15:26Z",
    "severity": "CRITICAL"
  },
  "details": "A heap buffer overflow vulnerability in the loading of ExecuTorch models can potentially result in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit ede82493dae6d2d43f8c424e7be4721abe5242be",
  "id": "GHSA-9m39-3mf3-xwch",
  "modified": "2026-10-27T16:45:04.555623064Z",
  "published": "2025-08-08T00:30:26Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54949"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pytorch/executorch/commit/ede82493dae6d2d43f8c424e7be4721abe5242be"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-333.yaml"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pytorch/executorch"
    },
    {
      "type": "WEB",
      "url": "https://pypi.org/project/executorch"
    },
    {
      "type": "WEB",
      "url": "https://www.facebook.com/security/advisories/cve-2025-54949"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ExecuTorch heap buffer overflow vulnerability"
}