CVE-2025-8747

NameCVE-2025-8747
DescriptionA safe mode bypass vulnerability in the `Model.load_model` method in Keras versions 3.0.0 through 3.10.0 allows an attacker to achieve arbitrary code execution by convincing a user to load a specially crafted `.keras` model archive.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
keras (PTS)bullseye2.3.1+dfsg-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kerassource(unstable)(not affected)

Notes

- keras <not-affected> (Vulnerable code never present in Debian released version)
Follow-up fix for CVE-2025-1550.
https://github.com/advisories/GHSA-c9rc-mg46-23w3
https://github.com/keras-team/keras/pull/21429 (v3.11.0)

Search for package or bug name: Reporting problems