Skip to content

CVE-2025-49655 Keras framework vulnerable to deserialization of untrusted data

CriticalCVSS 9.8 EPSS 0.75%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
Debian

Description

Deserialization of untrusted data can occur in versions of the Keras framework running versions 3.11.0 up to but not including 3.11.3, enabling a maliciously uploaded Keras file containing a TorchModuleWrapper class to run arbitrary code on an end user’s system when loaded despite safe mode being enabled. The vulnerability can be triggered through both local and remote files.

Upgrade path

3 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
debian/keras(Debian 11) = 2.3.1+dfsg-3; = 2.3.1+dfsg2-1; All versions No fix listed No fix yet
Keras >= 3.11.0, < 3.11.3 3.11.3 Fixed
pypi keras(PyPI) = 3.11.0; = 3.11.1; = 3.11.2; >= 3.11.0, < 3.11.3 3.11.3 Fixed

Affected products

ProductAffected versionsFixed in
pypi keras(PyPI) >= 3.11.0, < 3.11.3 3.11.3
pypi keras(PyPI) = 3.11.0 No fix listed
pypi keras(PyPI) = 3.11.1 No fix listed
pypi keras(PyPI) = 3.11.2 No fix listed
debian/keras(Debian:11) All versions No fix listed
debian/keras(Debian:11) = 2.3.1+dfsg-3 No fix listed
debian/keras(Debian:11) = 2.3.1+dfsg2-1 No fix listed
Keras >= 3.11.0, < 3.11.3 3.11.3

References