PT-2026-3014 · Google · Keras

Sarvesh Patil

·

Published

2026-01-15

·

Updated

2026-05-06

·

CVE-2026-0897

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Keras versions 3.0.0 through 3.13.0
Description A flaw exists in the HDF5 weight loading component of Keras that allows for a denial of service. An attacker can provide a crafted .keras archive containing a valid model.weights.h5 file. This file declares an extremely large shape, leading to memory exhaustion and a crash of the Python interpreter. The issue affects all platforms.
Recommendations Update Keras to a version newer than 3.13.0.

Fix

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

AZL-74631
CVE-2026-0897
GHSA-MGX6-5CF9-RR43
GHSA-XFHX-R7WW-5995
PYSEC-2026-73

Affected Products

Keras