ghsa-hj95-mhgf-jxc4
CVSS 9.8 pysec
Description
An integer overflow vulnerability in the loading of ExecuTorch models can cause overlapping allocations, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit d158236b1dc84539c1b16843bc74054c9dcba006.
Timeline
- Published
- unknown
- Last Modified
- unknown
CVSS Details
CVSS details not available.
Affected Products
No product information available.
Weaknesses (CWE)
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-30404
- https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006
- https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-335.yaml
- https://github.com/pytorch/executorch
- https://pypi.org/project/executorch
- https://www.facebook.com/security/advisories/cve-2025-30404
Linked Vulnerabilities
No linked vulnerabilities found.
{
"affected": [
{
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-hj95-mhgf-jxc4/GHSA-hj95-mhgf-jxc4.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-hj95-mhgf-jxc4/GHSA-hj95-mhgf-jxc4.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-hj95-mhgf-jxc4/GHSA-hj95-mhgf-jxc4.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-30404",
"PYSEC-2026-335"
],
"database_specific": {
"cwe_ids": [
"CWE-190"
],
"github_reviewed": true,
"github_reviewed_at": "2025-08-12T18:48:09Z",
"nvd_published_at": "2025-08-07T23:15:26Z",
"severity": "CRITICAL"
},
"details": "An integer overflow vulnerability in the loading of ExecuTorch models can cause overlapping allocations, potentially resulting in code execution or other undesirable effects. This issue affects ExecuTorch prior to commit d158236b1dc84539c1b16843bc74054c9dcba006.",
"id": "GHSA-hj95-mhgf-jxc4",
"modified": "2026-10-27T16:45:04.544792243Z",
"published": "2025-08-08T00:30:26Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-30404"
},
{
"type": "WEB",
"url": "https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-335.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-30404"
}
],
"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 integer overflow vulnerability"
}