CVE-2025-8747: google keras Deserialization of Untrusted Data
CVSS: 8.6v4.0HighAnalyzed
AliasesGHSA-c9rc-mg46-23w3PYSEC-2025-75UBUNTU-CVE-2025-8747CGA-mcj6-frx4-rv2hCGA-vx72-3qc9-h3q5
Published 11-08-2025Last modified 26-02-2026
Vulnerability summary
CVE-2025-8747 is a high (CVSS 8.6) Deserialization of Untrusted Data vulnerability in google keras. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.5% of scored vulnerabilities.
CVSS score
8.6/10
010
High · v4.0 (CVE.org)EPSS score
0.12%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 11-08-2025PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
Description
A safe mode bypass vulnerability in the `Model.load_model` method in Keras versions 3.0.0 through 3.10.0 allows an attacker to achieve arbitrary code execution by convincing a user to load a specially crafted `.keras` model archive.
CVSS metrics
7 scores · 5 sources · 2 versionsHigh 8.6Preferred score · CVE.org (CNA)
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/R:ASourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/R:A
- OSV · ChainguardEcosystem advisory · calculated8.6HighCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/R:A
- NVDNIST8.6HighCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:A/V:X/RE:X/U:X
High 7.8Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
0.00 pp
From 0.12% on 18-09-2026
18-09-202618-10-2026
EPSS score0.12%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- tensorflow-cpu-jupyter< 2.19.0-r7
- tensorflow-gpu-jupyter< 2.19.0-r6
Google1 product
- keras≥ 3.0.0, ≤ 3.10.0
Keras1 product
- keras≥ 3.0.0, ≤ 3.10.0
PyPI1 product
- keras≥ 3.0.0, < 3.11.0
Ubuntu1 product
- kerasAll versions (No fix recorded)
5 vendors · 6 products
References
12 links- github.com/keras-team/kerasPACKAGE