CVE-2025-1057: Keylime registrar is vulnerable to Denial-of-Service attack when updated to version 7.12.0
Impact The Keylime registrar implemented more strict type checking on version 7.12.0. As a result, when updated to version 7.12.0, the registrar will not accept the format of the data previously stored in the database by versions = 7.8.0, raising an exception.
Published Feb 14, 2025 · Updated Jul 21, 2026
Affected packages
keylime
- Ecosystem
- PyPI
- Affected
- = 7.12.0
- Fixed in
- 7.12.1
- Check
pip show keylime
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The Keylime registrar implemented more strict type checking on version 7.12.0. As a result, when updated to version 7.12.0, the registrar will not accept the format of the data previously stored in the database by versions >= 7.8.0, raising an exception.
This makes the Keylime registrar vulnerable to a Denial-of-Service attack in an update scenario, as an attacker could populate the registrar database by creating multiple valid agent registrations with different UUIDs while the version is still < 7.12.0. Then, when the Keylime registrar is updated to the 7.12.0 version, any query to the database matching any of the entries populated by the attacker will result in failure.
Patches
Users should upgrade to versions >= 7.12.1
Workarounds
- Remove the registrar database and re-register all agents
Credit
Reported by: Anderson Toshiyuki Sasaki/@ansasaki Patched by: Anderson Toshiyuki Sasaki/@ansasaki
Credited to ansasaki.
References
- https://github.com/keylime/keylime/security/advisories/GHSA-9jxq-5x44-gx23
- https://github.com/keylime/keylime/commit/e08b10d86c3717006774e787542c190e2ba24fc7
- https://nvd.nist.gov/vuln/detail/CVE-2025-1057
- https://access.redhat.com/security/cve/CVE-2025-1057
- https://bugzilla.redhat.com/show_bug.cgi?id=2343894
- https://github.com/advisories/GHSA-9jxq-5x44-gx23
- https://github.com/ansasaki/keylime/tree/base64_bytes
- https://github.com/keylime/keylime
- https://github.com/keylime/rust-keylime
- https://github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2026-1488.yaml
- https://pypi.org/project/keylime
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-6420
Keylime has a hardcoded attestation challenge nonce that allows replay attacks
medium6.3May 11, 2026CVE-2026-1709
Keylime Missing Authentication for Critical Function and Improper Authentication
critical9.4Feb 6, 2026CVE-2025-13609
Keylime allows users to register new agents by recycling existing UUIDs when using different TPM devices
high8.2Nov 24, 2025
