CVE-2025-13609: Keylime Keylime Allows Users To Register Vulnerability
HIGHCVE-2025-13609 is a HIGH (CVSS 8.2) keylime allows users to register vulnerability (CWE-694: Use of Multiple Resources with Duplicate Identifier) affecting Keylime libraries in the PyPI ecosystem. The issue involves keylime allows users to register new agents by recycling existing uuids when using different tpm devices. Remediation is available by upgrading affected packages to version 7.13.0.
CVE-2025-13609 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:L).
How to Fix CVE-2025-13609
To remediate this vulnerability, upgrade all affected Keylime dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install keylime>=7.13.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show keylime
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-13609, inspect your installed packages using pip:
pip show keylime
Analyze the terminal output to locate any version of Keylime in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.13.0), your application is affected.
Note: The pip show keylime command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-694: Use of Multiple Resources with Duplicate Identifier, where the product uses multiple resources that can have the same identifier, in a context in which unique identifiers are required. In Keylime, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-13609 Affected Keylime Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keylime
|
PyPI |
< 7.13.0
|
7.13.0
|
References
Frequently Asked Questions
What is CVE-2025-13609?
Which Keylime versions are affected?
What version fixes CVE-2025-13609?
Is keylime affected?
What is the CVSS score of CVE-2025-13609?
What CWE is associated with CVE-2025-13609?
How can I check PyPI dependencies for CVE-2025-13609?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xh5w-g8gq-r3v9",
"modified" : "2026-05-29T20:50:19Z",
"published" : "2025-11-24T18:31:14Z",
"aliases" : [ "CVE-2025-13609" ],
"summary" : "Keylime allows users to register new agents by recycling existing UUIDs when using different TPM devices",
"details" : "A vulnerability has been identified in keylime where an attacker can exploit this flaw by registering a new agent using a different Trusted Platform Module (TPM) device but claiming an existing agent's unique identifier (UUID). This action overwrites the legitimate agent's identity, enabling the attacker to impersonate the compromised agent and potentially bypass security controls.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keylime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.13.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13609"
}, {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/issues/1820"
}, {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/pull/1785"
}, {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/commit/e1ae8de1f7b1385eaeec66572a92ff1338e6e157"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:23201"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:23210"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:23628"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:23735"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2025:23852"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:0429"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2025-13609"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2416761"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/keylime/keylime"
}, {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/releases/tag/v7.13.0"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2025-77.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-694" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-26T19:32:37Z",
"nvd_published_at" : "2025-11-24T18:15:49Z"
}
}