CVE-2025-1057
Keylime: keylime registrar dos due to incompatible database entry handling
Also known as GHSA-9jxq-5x44-gx23, PYSEC-2026-1488
Mitigation
- Upgrade keylime to 7.12.1 or later.
Who should check
- Projects that depend on PyPI package keylime (>= 7.12.0, < 7.12.1)
- Anyone running keylime 7.12.0
- Anyone running Red Hat Enterprise Linux 10 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 9 (versions: see the vendor advisory)
Vulnerability facts
- Affected
- keylime >= 7.12.0, < 7.12.1
- Fixed in
- 7.12.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- EPSS
- 0.73% chance of exploitation in 30 days (percentile 50, 2026-11-26)
- CWE
- CWE-704
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI keylime | >= 7.12.0, < 7.12.1 | 7.12.1 | osv |
| keylime | 7.12.0 | — | cvelist |
| Red Hat Enterprise Linux 10 | — | — | cvelist |
| Red Hat Enterprise Linux 9 | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-1057. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-1057.md Affected: keylime >= 7.12.0, < 7.12.1 Fixed in: 7.12.1 Steps: 1. Search this machine and project for keylime (PyPI), keylime, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://access.redhat.com/security/cve/CVE-2025-1057
- https://bugzilla.redhat.com/show_bug.cgi?id=2343894
- https://github.com/ansasaki/keylime/tree/base64_bytes
- https://github.com/keylime/rust-keylime
- https://github.com/keylime/keylime
- https://github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2026-1488.yaml
- https://pypi.org/project/keylime
FAQ
Is CVE-2025-1057 being exploited?
There is no confirmed exploitation: CVE-2025-1057 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-1057?
Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-1057?
keylime >= 7.12.0, < 7.12.1.
Is there a fix for CVE-2025-1057?
Yes. Fixed in 7.12.1. Upgrade keylime to 7.12.1 or later.
How do I check if I'm affected by CVE-2025-1057?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.