Bug 2351304 (CVE-2025-1550) - CVE-2025-1550 keras: Arbitrary Code Execution via Crafted Keras Config for Model Loading
Summary: CVE-2025-1550 keras: Arbitrary Code Execution via Crafted Keras Config for Mo...
Keywords:
Status: NEW
Alias: CVE-2025-1550
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-11 09:01 UTC by OSIDB Bzimport
Modified: 2025-03-11 13:51 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-11 09:01:11 UTC
The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.


Note You need to log in before you can comment on or make changes to this bug.