CVE-2025-49655: Critical severity Keras Keras vulnerability

Published Oct 17, 2025
·
Updated

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

2 affected componentsFixes available
Keras Keras<3.11.3, >=undefined
pip/keras>=3.11.0<3.11.3
3.11.3

Event History

Oct 17, 2025
CVE Published
via MITRE·03:20 PM
Data Sourced
via MITRE·03:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:31 PM
Data Sourced
via GitHub·06:31 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2025-49655?

To fix CVE-2025-49655, you should upgrade Keras to version 3.11.3 or later.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203