Approved changes feed: RSS · Atom

cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorKeras (668e778f-ca6c-52b7-87b3-b804c1268cea)
ProductKeras (cb85e838-f003-5282-b8a8-bdd903ac0d40)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/keras purl2cpe 2026-06-01 10:18:18.134720
pkg:deb/ubuntu/keras purl2cpe 2026-06-01 10:18:18.134722
pkg:github/keras-team/keras purl2cpe 2026-06-01 10:18:18.134724
pkg:pypi/keras purl2cpe 2026-06-01 10:18:18.134726
pkg:rpm/opensuse/python-keras purl2cpe 2026-06-01 10:18:18.134727
pkg:sourceforge/keras.mirror purl2cpe 2026-06-01 10:18:18.134728

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-1669 vulnerable 2026-06-08 07:49:09.326561 Arbitrary File Read in Keras via HDF5 External Datasets
Arbitrary file read in the model loading mechanism (HDF5 integration) in Keras versions 3.0.0 through 3.13.1 on all supported platforms allows a remote attacker to read local files and disclose sensitive information via a crafted .keras model file utilizing HDF5 external dataset references.
Published: 2026-02-11T22:10:10.031Z
Updated: 2026-07-15T01:21:16.008Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-0897 vulnerable 2026-06-08 07:47:13.457560 Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata
Allocation of Resources Without Limits or Throttling in the HDF5 weight loading component in Google Keras 3.0.0 through 3.13.0 on all platforms allows a remote attacker to cause a Denial of Service (DoS) through memory exhaustion and a crash of the Python interpreter via a crafted .keras archive containing a valid model.weights.h5 file whose dataset declares an extremely large shape.
Published: 2026-01-15T14:09:53.603Z
Updated: 2026-07-15T01:23:41.519Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-9906 vulnerable 2026-06-08 07:47:10.228924 Arbitrary Code execution in Keras Safe Mode
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One can create a specially crafted .keras model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed. This is achieved by crafting a special config.json (a file within the .keras archive) that will invoke keras.config.enable_unsafe_deserialization() to disable safe mode. Once safe mode is disable, one can use the Lambda layer feature of keras, which allows arbitrary Python code in the form of pickled code. Both can appear in the same archive. Simply the keras.config.enable_unsafe_deserialization() needs to appear first in the archive and the Lambda with arbitrary code needs to be second.
Published: 2025-09-19T08:15:04.349Z
Updated: 2026-02-26T17:48:23.819Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-9905 vulnerable 2026-06-08 07:47:10.228273 Arbitary Code execution in Keras load_model()
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One can create a specially crafted .h5/.hdf5 model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed. This is achieved by crafting a special .h5 archive file that uses the Lambda layer feature of keras which allows arbitrary Python code in the form of pickled code. The vulnerability comes from the fact that the safe_mode=True option is not honored when reading .h5 archives. Note that the .h5/.hdf5 format is a legacy format supported by Keras 3 for backwards compatibility.
Published: 2025-09-19T08:16:44.772Z
Updated: 2026-02-26T17:48:23.327Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-8747 vulnerable 2026-06-08 07:45:21.095717 Keras safe_mode bypass allows arbitrary code execution when loading a malicious model.
A safe mode bypass vulnerability in the `Model.load_model` method in Keras versions 3.0.0 through 3.10.0 allows an attacker to achieve arbitrary code execution by convincing a user to load a specially crafted `.keras` model archive.
Published: 2025-08-11T07:21:16.619Z
Updated: 2026-02-26T17:49:45.906Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-49655 vulnerable 2026-06-08 07:29:13.936447 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-1550 vulnerable 2026-06-08 07:08:37.278752 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-12060 vulnerable 2026-06-08 07:04:29.630833 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-12058 vulnerable 2026-06-08 07:04:29.629200 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-3660 vulnerable 2026-06-08 06:43:51.119978 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.