---
id: CVE-2025-1057
title: >-
  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
summary: >-
  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, old…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-704
published: '2025-03-15'
updated: '2026-06-26'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-1057'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2025-1057'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2343894'
    label: secalert@redhat.com
  - url: 'https://github.com/ansasaki/keylime/tree/base64_bytes'
    label: secalert@redhat.com
  - url: 'https://github.com/keylime/rust-keylime'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00391
epssPercentile: 0.30505
ingestedAt: '2026-06-26T16:43:13.415Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
