CVE-2025-9905
2 advisories.
PyPI/keras CVE-2025-9905: high
The Keras `Model.load_model` method **silently** ignores `safe_mode=True` and allows arbitrary code execution when a `.h5`/`.hdf5` file is loaded.
Action: Upgrade keras to 3.11.3 or later.
pip install keras==3.11.3Affected
| introduced | fixed | last affected |
|---|---|---|
| 3.0.0 | 3.11.3 | - |
Fixed versions
| 3.11.3 |
Sources
- osv: GHSA-36rr-ww3j-vrjv
- https://github.com/keras-team/keras/security/advisories/GHSA-36rr-ww3j-vrjv
- https://nvd.nist.gov/vuln/detail/CVE-2025-9905
- https://github.com/keras-team/keras/pull/21602
- https://github.com/keras-team/keras
- https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-123.yaml
CVE-2025-9905 · published · modified · JSON
PyPI/keras CVE-2025-9905: high 7.3
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True.
Action: Upgrade keras to 3.11.3 or later.
pip install keras==3.11.3Affected
| introduced | fixed | last affected |
|---|---|---|
| 3.0.0 | 3.11.3 | - |
Fixed versions
| 3.11.3 |
Sources
- osv: PYSEC-2025-123
- https://github.com/keras-team/keras/pull/21602
- https://github.com/keras-team/keras/security/advisories/GHSA-36rr-ww3j-vrjv
CVE-2025-9905 · published · modified · JSON