#VU119402 Improper Control of Dynamically-Managed Code Resources in Keras - CVE-2025-9905
Published: December 9, 2025
Vulnerability identifier: #VU119402
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-9905
CWE-ID: CWE-913
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Keras
Keras
Software vendor:
Keras
Keras
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation within the Model.load_model() method. A remote attacker can trick the victim into loading a crafted .h5/.hdf5 model archive and execute arbitrary code on the system.
Remediation
Install updates from vendor's website.