#VU120185 Deserialization of Untrusted Data in Keras - CVE-2025-8747

 

#VU120185 Deserialization of Untrusted Data in Keras - CVE-2025-8747

Published: December 18, 2025


Vulnerability identifier: #VU120185
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-8747
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Keras
Software vendor:
Keras

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data even when "safe_mode" is enabled. A remote attacker can trick the victim into loading a specially crafted Keras v3 model and execute arbitrary code on the system.

This vulnerability exists due to an incomplete fix for #VU106013 (CVE-2025-1550).


Remediation

Install updates from vendor's website.

External links