Deserialization Vulnerability in Keras Framework
CVE-2025-49655

9.8CRITICAL

Key Information:

Vendor

Keras

Status
Vendor
CVE Published:
17 October 2025

Badges

πŸ“ˆ TrendedπŸ“ˆ Score: 1,880

Key facts: CVE-2025-49655 is a critical severity (CVSS 9.8) vulnerability in Keras. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.9%, the estimated probability of exploitation in the next 30 days. Fixed in Keras 3.11.3.

What is CVE-2025-49655?

CVE-2025-49655 is a deserialization vulnerability identified in the Keras framework, a popular library used for building and training machine learning models. This issue affects versions 3.11.0 through 3.11.2 of the Keras framework, allowing a maliciously crafted Keras file that contains a TorchModuleWrapper class to execute arbitrary code on a user's system when the file is loaded. Notably, this occurs even if safe mode is enabled, making the vulnerability particularly concerning. The potential for exploitation is present through both local and remote file uploads, which could allow attackers to manipulate systems and compromise sensitive data.

Potential impact of CVE-2025-49655

  1. Arbitrary Code Execution: This vulnerability enables attackers to execute arbitrary code on the user's machine, which can lead to unauthorized activities, data manipulation, or the deployment of additional malicious software.

  2. System Compromise: If exploited, CVE-2025-49655 can allow attackers to gain control over affected systems, potentially leading to broader network infiltration and exploitation of connected resources.

  3. Data Breach and Loss: The execution of unauthorized code may facilitate data breaches, risking exposure of sensitive information or intellectual property, which can have legal and financial repercussions for organizations.

Affected Version(s)

Keras 3.11.0 < 3.11.3

References

Browse all analysed vulnerabilities β€Ί

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • πŸ“ˆ

    Vulnerability started trending

  • Vulnerability published

  • Vulnerability Reserved

.