MTIby Motiontic
Colour theme
VulnerabilityCVE-2025-9906DEBIAN-CVE-2025-9906GHSA-36fq-jgmw-4r9c

Arbitrary Code execution in Keras Safe Mode

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • Debian Source: Debian
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)