Name | CVE-2025-1550 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
keras (PTS) | bullseye | 2.3.1+dfsg-3 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
keras | source | (unstable) | (unfixed) |
[bullseye] - keras <postponed> (Minor issue; few r-depends; can be fixed in next update)
https://github.com/keras-team/keras/security/advisories/GHSA-48g7-3x6r-xfhp
https://github.com/keras-team/keras/pull/20751