chiprook
← Security
SecurityOctober 18, 2026, 17:20

CVE-2025-9905: Keras safe_mode ignored for legacy .h5 models

In Keras 3.0.0 through 3.11.2, safe_mode=True was ignored when loading legacy .h5 models, so a Lambda layer's stored function ran on load (CVE-2025-9905). It is fixed in Keras 3.11.3, and a static scanner, hdf5_keras_lambda_scan from the keras-model-scan toolkit, checks old files without executing them.

CVE-2025-9905: Keras safe_mode ignored for legacy .h5 models
#Keras#H5py
Read next
Security

Open-source keras-model-scan and pickle-model-scan check ML models without loading them

Security

Sizing CVE-2025-38680: 18.2M Linux SSH Hosts Don't Reflect Real Exposure

Security

Veeam Backup & Replication flaw CVE-2025-64393 rated 9.4

Security

PEERSTITCH malware delivered via FortiOS flaw CVE-2025-61624