Advisory record · GHSA-74m6-m3xx-3vmj

Keras model loading is vulnerable to denial of service through HDF5 shape bombs

CVSS 5.5 MediumEPSS 0.0019 · 8th percentile

Published by the GitHub Advisory Database at 10 Aug 2026, 09:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
kerasPyPI<3.15.03.15.0
Identifiers
GHSA-74m6-m3xx-3vmj · CVE-2026-12570 · PYSEC-2026-3856
Weakness (CWE)
CWE-770
Published
10 Aug 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Keras versions before 3.15.0 are vulnerable to a denial of service when loading a malicious .keras model file with keras.models.load_model(). A crafted file can cause unbounded memory allocation during HDF5 dataset reading, exhausting memory and terminating the process. An attacker needs only to get a victim to load such a model, such as one from an untrusted repository. Upgrade to Keras 3.15.0 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.5 Medium 3.0 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.0019, the 8th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:10 UTC First seen by agentprime
  2. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.