Keras Team/Keras
Approved changes feed: RSS · Atom
cpe:2.3:a:keras-team:keras-team/keras:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Keras Team (506ce64e-5e2d-56cf-abf8-79e45f445d10) |
|---|---|
| Product | Keras Team/Keras (08c82659-1259-579f-821a-62bfc9ee6273) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from gcve-enriched-dumps CVE data |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
| No PURL mappings for this CPE yet. | ||
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-9335 |
vulnerable | 2026-09-16 04:33:02.547730 |
Improper Handling of HDF5 ExternalLinks in keras-team/keras
MEDIUM (6.5)
A vulnerability in keras-team/keras versions <= 3.14.0 allows arbitrary local HDF5 file content disclosure due to improper handling of HDF5 ExternalLinks. The `KerasFileEditor` and `keras.saving.load_weights` functions bypass the `safe_get_h5_group` and `safe_get_h5_dataset` helpers, which are designed to reject ExternalLinks and SoftLinks. This results in automatic dereferencing of links to external HDF5 files, enabling attackers to disclose sensitive data from the victim's local filesystem. Specifically, `KerasFileEditor` extracts attributes and datasets from linked files into its internal structures, while `keras.saving.load_weights` loads weights from linked files into the user's model. This issue can be exploited by providing a malicious `.h5`, `.weights.h5`, or `.keras` file containing ExternalLinks.
Published: 2026-08-02T03:49:25.096Z
Updated: 2026-08-03T16:48:20.064Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-12570 |
vulnerable | 2026-09-16 04:32:50.992937 |
Denial of Service via HDF5 Shape Bomb in keras.models.load_model() in keras-team/keras
MEDIUM (5.5)
A vulnerability in keras-team/keras versions <= 3.15.0 allows for a denial of service (DoS) attack when loading malicious .keras model files via the keras.models.load_model() function. The H5IOStore.__getitem__ method in keras/src/saving/saving_lib.py does not validate the shape or size of datasets, leading to unbounded memory allocation. A specially crafted .keras file can exploit this flaw to trigger an out-of-memory (OOM) condition, causing the process to be terminated (exit code 137). This issue bypasses the fix for CVE-2026-0897, which only addressed a similar vulnerability in KerasFileEditor. The attack vector includes poisoned models from public repositories or malicious model registries, posing a risk to machine learning pipelines that process untrusted models.
Published: 2026-08-10T06:29:56.111Z
Updated: 2026-08-10T17:37:39.037Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-12484 |
vulnerable | 2026-07-29 00:23:32.356129 |
Unsafe Deserialization in keras.layers.TorchModuleWrapper.from_config
HIGH (7.8)
A vulnerability in keras-team/keras version 3.15.0 allows unsafe deserialization of attacker-controlled PyTorch pickle data through the public `keras.layers.TorchModuleWrapper.from_config` method. This method invokes `torch.load(..., weights_only=False)` without requiring an explicit unsafe opt-in, such as a `safe_mode=False` parameter. When called outside a `SafeModeScope(True)` context, the absence of an ambient safe mode state permits unsafe deserialization by default. This issue can lead to arbitrary code execution if untrusted Keras layer configurations are processed using this method. The vulnerability arises because the method does not enforce safe deserialization practices unless explicitly guarded by Keras safe mode.
Published: 2026-07-19T19:47:27.743Z
Updated: 2026-07-20T13:45:55.809Z Reference links |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-12482 |
vulnerable | 2026-07-29 00:23:32.355980 |
Path Traversal via Symlink Name Validation Bypass in keras-team/keras
LOW (3.1)
A vulnerability in keras-team/keras version 3.12.0 allows an attacker to craft a malicious tar archive that bypasses the `filter_safe_tarinfos` validation in `keras/src/utils/file_utils.py`. Specifically, symlink entries are not subjected to the same `is_path_in_dir` validation as regular file entries, allowing symlinks to be created outside the intended extraction directory. This can lead to symlink-based file read, file overwrite, or directory escape attacks. The issue is particularly impactful on Python 3.10 and 3.11, where `filter_safe_tarinfos` is the sole defense against tar path traversal. This vulnerability is distinct from CVE-2025-12060 and other previously reported issues.
Published: 2026-07-14T05:13:07.252Z
Updated: 2026-07-14T12:43:09.817Z Reference links |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-12481 |
vulnerable | 2026-07-29 00:23:32.355772 |
Deserialization of Untrusted Data in keras-team/keras
HIGH (8.8)
A vulnerability in keras-team/keras version 3.14.0 allows for arbitrary code execution due to improper handling of deserialization in the `Lambda` layer. Specifically, the `_raise_for_lambda_deserialization()` function fails to enforce the safe-mode guard when `safe_mode` is set to `None`, which is the default value when `from_config()` is called outside of a `SafeModeScope` context. This logic error conflates `None` (unset/default-deny) with `False` (explicitly disabled), bypassing the guard and allowing attacker-controlled `marshal` bytecode to be deserialized. Affected call sites include `keras.layers.deserialize(config)`, `keras.models.clone_model(model)`, and any direct invocation of `Lambda.from_config(config)` without an enclosing `SafeModeScope(True)`. This vulnerability can be exploited to achieve arbitrary OS-level code execution in the context of the server or user process.
Published: 2026-07-03T20:36:05.003Z
Updated: 2026-07-06T15:15:46.244Z Reference links |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-12480 |
vulnerable | 2026-07-29 00:23:32.355657 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-12479 |
vulnerable | 2026-07-29 00:23:32.355441 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-11816 |
vulnerable | 2026-07-29 00:23:31.652245 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-1462 |
vulnerable | 2026-06-08 07:49:08.656384 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-12638 |
vulnerable | 2026-06-08 07:04:30.581161 | 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.