Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2025-9905

25
FAUCET Score

CVE-2025-9905 allows arbitrary code execution in Keras's Model.load_model method, even with safe_mode=True, by loading a specially crafted .h5/.hdf5 model archive. This vulnerability, affecting Keras, stems from the Lambda layer feature which permits pickled Python code, bypassing safe_mode protection. Rated 7.3 HIGH (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H), it requires local access and user interaction but can lead to high confidentiality, integrity, and availability impacts. Currently, there is no evidence of active exploitation, public exploit code, or significant community discussion.

Impacted Technologies

VendorProductVersion(s)CPE
>= 3.0.0, < 3.11.3CPE matchmatch criteria
cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 4.0

7.3HIGH

CVSS:4.0/AV:L/AC:H/AT:P/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:X/R:X/V:X/RE:X/U:X

Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
PASSIVE
VS Confidentiality
HIGH
VS Integrity
HIGH
VS Availability
HIGH
SS Confidentiality
HIGH
SS Integrity
HIGH
SS Availability
HIGH
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
0.21%
Probability of exploitation in next 30 days
EPSS Percentile
10.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0021 is in the 42nd percentile among its peer group of 759 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.2 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (7)

github_advisorypatch availablevia nvd_reference
View patch
microsoftpatch availablevia msrc
Product: azl3 keras 3.3.3-3 on Azure Linux 3.0Fixed in: 3.3.3-4
microsoftpatch availablevia msrc
Product: 20434-17084Fixed in: 3.3.3-4
pippatch availablevia ghsa
Product: kerasFixed in: 3.11.3
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift AI 2.22Fixed in: rhoai/odh-modelmesh-runtime-adapter-rhel9:sha256:1dd295d8062d8846ffb2534b2597e2791bd67387904b3d4ccf58cf3424d3250b
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift AI 2.25Fixed in: rhoai/odh-modelmesh-runtime-adapter-rhel9:sha256:bf9194f8e0885012b14da1cbe9a95e4b75bc80c8eada16b25e391ce035ba29d0
View patch
redhatend of lifevia redhat_api
Product: Red Hat OpenShift AI (RHOAI)Fixed in: rhoai/odh-modelmesh-runtime-adapter-rhel8

Vendor Advisories (3)

pipGHSA-36rr-ww3j-vrjvhigh

The Keras `Model.load_model` method **silently** ignores `safe_mode=True` and allows arbitrary code execution when a `.h5`/`.hdf5` file is loaded.

Sep 19, 2025
redhatCVE-2025-9905Important

keras: Arbitary Code execution in Keras load_model()

Sep 19, 2025
microsoft2025-Sep/CVE-2025-9905Important

Arbitary Code execution in Keras load_model()

Sep 9, 2025

References

github.com / keras-team/keras/pull/21602
Issue TrackingPatch
github.com / keras-team/keras/security/advisories/GHSA-36rr-ww3j-vrjv
ExploitVendor Advisory