CVE-2025-49655: Critical severity Keras Keras vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-49655?
The severity of CVE-2025-49655 is high due to the potential for arbitrary code execution from malicious Keras files.
How do I fix CVE-2025-49655?
To fix CVE-2025-49655, you should upgrade Keras to version 3.11.3 or later.
Which versions of Keras are affected by CVE-2025-49655?
CVE-2025-49655 affects Keras versions from 3.11.0 up to but not including 3.11.3.
What can happen if I am using a vulnerable version of Keras related to CVE-2025-49655?
Using a vulnerable version of Keras can lead to untrusted data deserialization, allowing attackers to run arbitrary code on the user's system.
Is safe mode effective against CVE-2025-49655?
No, safe mode is not effective against CVE-2025-49655 as the vulnerability allows code execution despite the safe mode being enabled.