CVE-2025-49655: keras Deserialization of Untrusted Data
Vulnerability summary
CVE-2025-49655 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in keras. EPSS estimates a 0.75% chance of exploitation in the next 30 days, higher than 54% of scored vulnerabilities.
Timeline
- 17-10-2025PublishedVulnerability first disclosed.
- 17-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.75%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
0.00 pp
From 0.75% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- kerasAll versions (No fix recorded)
Keras1 product
- keras≥ 3.11.0, < 3.11.3
PyPI1 product
- keras≥ 3.11.0, < 3.11.3
Ubuntu1 product
- kerasAll versions (No fix recorded)
4 vendors · 4 products
References
10 links- github.com/keras-team/kerasPACKAGE
- pypi.org/project/kerasPACKAGE