CVE-2025-1057 Keylime: keylime registrar dos due to incompatible database entry handling
Incompatible database entry handling in Keylime registrar causes exceptions and denial of service for agents during registration.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-1057?
CVE-2025-1057 is a medium-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 15 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A flaw was found in Keylime, a remote attestation solution, where strict type checking introduced in version 7.12.0 prevents the registrar from reading database entries created by previous versions, for example, 7.11.0. Specifically, older versions store agent registration data as bytes, whereas the updated registrar expects str. This issue leads to an exception when processing agent registration requests, causing the agent to fail.
Weakness: CWE-704
Which versions are affected by CVE-2025-1057?
3 open source packages ship an affected version, including keylime.
| Package | Affected | Fixed in |
|---|---|---|
keylime PyPI | From 7.12.0 | 7.12.1 |
keylime PyPI | From 7.12.0 | 7.12.1 |
keylime PyPI | From 7.12.0 | 7.12.1 |
Linux distribution packages (1)
keylime openSUSE:Tumbleweed | All versions | 7.12.1-1.1 |
How do I fix CVE-2025-1057?
Upgrade keylime to 7.12.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-1057 being exploited?
There is no known exploitation of CVE-2025-1057 in the wild and no public exploit code.
Sources
Also known as GHSA-9jxq-5x44-gx23, PYSEC-2026-1488, openSUSE-SU-2025:14813-1.