{"schema":"threatline.record/2","record":{"id":"CVE-2025-49655","aliases":["GHSA-cvhh-q5g5-qprp","PYSEC-2026-368"],"summary":"Keras framework vulnerable to deserialization of untrusted data","details":"Deserialization of untrusted data can occur in versions of the Keras framework running versions 3.11.0 up to but not including 3.11.3, enabling a maliciously uploaded Keras file containing a TorchModuleWrapper class to run arbitrary code on an end user’s system when loaded despite safe mode being enabled. The vulnerability can be triggered through both local and remote files.","categories":["Libraries & packages"],"product":"keras","vendor":"Keras","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-cvhh-q5g5-qprp","source_modified_at":"2026-10-27T17:19:23Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"keras"},"range":">= 3.11.0, < 3.11.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-49655","source_modified_at":"2025-10-17T15:58:34.204Z","fetched_at":"2026-10-27T21:14:11.489891Z","product":"Keras","vendor":"Keras","versions":[{"lessThan":"3.11.3","status":"affected","version":"3.11.0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-cvhh-q5g5-qprp","source_modified_at":"2026-10-27T17:30:37.908610942Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"keras","ecosystem":"PyPI","purl":"pkg:pypi/keras"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.0"},{"fixed":"3.11.3"}]}],"versions":["3.11.0","3.11.1","3.11.2"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-cvhh-q5g5-qprp","source_modified_at":"2026-10-27T17:19:23Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"pip","name":"keras"},"version":"3.11.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-49655","source_modified_at":"2025-10-17T15:58:34.204Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"Keras","ecosystem":null},"version":"3.11.3","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-cvhh-q5g5-qprp","source_modified_at":"2026-10-27T17:30:37.908610942Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"keras","ecosystem":"PyPI","purl":"pkg:pypi/keras"},"version":"3.11.3"}],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.0075,"percentile":0.54738,"score_date":"2026-10-27"},"published_at":"2025-10-17T15:20:27.308Z","modified_at":"2026-10-27T17:30:37.908610942Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-cvhh-q5g5-qprp","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T17:19:23Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-49655","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2025-10-17T15:58:34.204Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-cvhh-q5g5-qprp","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T17:30:37.908610942Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-49655","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-49655","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/keras-team/keras/pull/21575"},{"url":"https://hiddenlayer.com/sai_security_advisor/2025-10-keras","source":"GitHub Advisory Database"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2026-368.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/keras","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-cvhh-q5g5-qprp","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://hiddenlayer.com/sai_security_advisor/2025-10-keras/"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total","assessed_at":"2025-10-17T15:57:54.529745Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T17:30:37.908610942Z","content_hash":"a99f3bca6d09d176618eb85c0fcba5b4eefe02591c4253d4d7569e04cfebad28"}}
