{"schema":"threatline.record/2","record":{"id":"CVE-2025-30404","aliases":["GHSA-hj95-mhgf-jxc4","PYSEC-2026-335"],"summary":"ExecuTorch integer overflow vulnerability","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.","categories":["Libraries & packages"],"product":"executorch","vendor":"Meta Platforms, Inc","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:30:54Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"executorch"},"range":"< 0.7.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:30:54Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"maven","name":"org.pytorch:executorch-android"},"range":"< 0.7.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:30:54Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"swift","name":"github.com/pytorch/executorch"},"range":"< 0.7.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-30404","source_modified_at":"2025-08-12T14:11:13.423Z","fetched_at":"2026-10-27T21:14:11.489891Z","product":"ExecuTorch","vendor":"Meta Platforms, Inc","versions":[{"lessThan":"https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","status":"affected","version":"0","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:45:04.544792243Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"executorch","ecosystem":"PyPI","purl":"pkg:pypi/executorch"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"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"]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:45:04.544792243Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"org.pytorch:executorch-android","ecosystem":"Maven","purl":"pkg:maven/org.pytorch/executorch-android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"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"]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:45:04.544792243Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"github.com/pytorch/executorch","ecosystem":"SwiftURL","purl":"pkg:swift/github.com/pytorch/executorch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:30:54Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"executorch"},"version":"0.7.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:30:54Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"maven","name":"org.pytorch:executorch-android"},"version":"0.7.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:30:54Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"swift","name":"github.com/pytorch/executorch"},"version":"0.7.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:45:04.544792243Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"executorch","ecosystem":"PyPI","purl":"pkg:pypi/executorch"},"version":"0.7.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:45:04.544792243Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"org.pytorch:executorch-android","ecosystem":"Maven","purl":"pkg:maven/org.pytorch/executorch-android"},"version":"0.7.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-hj95-mhgf-jxc4","source_modified_at":"2026-10-27T16:45:04.544792243Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"github.com/pytorch/executorch","ecosystem":"SwiftURL","purl":"pkg:swift/github.com/pytorch/executorch"},"version":"0.7.0"}],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00619,"percentile":0.49448,"score_date":"2026-10-27"},"published_at":"2025-08-07T22:46:57.161Z","modified_at":"2026-10-27T16:45:04.544792243Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T16:30:54Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-30404","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2025-08-12T14:11:13.423Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-hj95-mhgf-jxc4","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T16:45:04.544792243Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-30404","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30404","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/pytorch/executorch/commit/d158236b1dc84539c1b16843bc74054c9dcba006","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://www.facebook.com/security/advisories/cve-2025-30404","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/executorch/PYSEC-2026-335.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/executorch","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-hj95-mhgf-jxc4","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total","assessed_at":"2025-08-12T14:10:48.253429Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T16:45:04.544792243Z","content_hash":"5a4372655cc6a8f2de793e08ec2ea3d73566966fd6924f0e123d701f6683435a"}}
