Skip to main content

TPM2.0 Reference Implementation EUVDEUVD-2025-17717

| CVE-2025-2884 MEDIUM
Out-of-bounds Read (CWE-125)
2025-06-10 cret@cert.org
6.6
CVSS 3.1 · Vendor: cert
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local access
  2. Delivery
    Craft TPM signing command with mismatched scheme
  3. Exploit
    Trigger CryptHmacSign
  4. Execution
    Out-of-bounds read
  5. Impact
    Memory leak or crash

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must have local access to the system and be able to issue TPM commands (e.g., via /dev/tpm0 or TPM2 tools). The attacker needs low privileges (e.g., user-level access) and must interact with the system (UI:R) to trigger the vulnerable function. The vulnerability requires the TPM2.0 reference implementation to be used without the fix (versions < 1.83). No special configuration is needed beyond having the TPM software stack active.

Impact

CVSS 3.1 score 6.6 (Medium) with vector AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H indicates local access, low complexity, low privileges, and user interaction required. The EPSS score is 0.03% (low probability of exploitation). No KEV listing or public exploit code has been identified. The SSVC decision framework suggests exploitation is unlikely given the local attack vector and required user interaction. The risk is moderate for environments where local users have access to TPM commands, but low for typical deployments due to the prerequisites.

Exploit ScenarioDerived

A local attacker with low privileges crafts a TPM signing command with a mismatched signature scheme (e.g., using an asymmetric scheme on an HMAC key). The CryptHmacSign function performs an out-of-bounds read, potentially leaking sensitive memory contents or causing a crash. User interaction is required (e.g., the attacker must execute a script that triggers the vulnerable code path).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 26, 2026

Out-of-bounds read in TCG TPM2.0 Reference Implementation's CryptHmacSign function allows local authenticated attackers to leak sensitive memory or cause denial of service. The vulnerability affects TPM2.0 library versions prior to 1.83 and is fixed in Errata Revision 1.83. No public exploit or active exploitation has been identified, and EPSS score is low (0.03%).

RemediationAI

Upgrade to TPM2.0 Errata Revision 1.83 or later. The fix is available in the libtpms repository commit 04b2d8e9afc0a9b6bffe562a23e58c0de11532d1. For systems using TPM2.0 software stacks, apply the vendor patch or update to the latest version. No workarounds are documented; however, restricting local access to TPM commands and ensuring only trusted users can interact with the TPM can reduce risk.

Affected VersionsENISA

TPM2.0 0 <1.83

Affected Packages

euvd tpm2_0 fix: 1.83

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the CryptHmacSign helper function within the TPM2.0 reference implementation's cryptographic library (CryptUtil.c). The function fails to validate that the signature scheme (sigAlg) matches the signing key's algorithm type (e.g., HMAC vs. asymmetric schemes). This allows an attacker to supply a mismatched signature scheme, leading to an out-of-bounds read (CWE-125) when the function attempts to process the signature using incorrect parameters. The affected component is the TPM2.0 software stack, commonly used in trusted computing environments. CPE data indicates affected versions are TPM2.0 < 1.83.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (cert) PRIMARY 6.6 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
vuln.today AI 6.6 MEDIUM

Local attack vector, low complexity, low privileges, user interaction required.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (cert).

CVSS VectorVendor: cert

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
1.83
CVE Published
Jun 10, 2025 - 18:15 nvd
MEDIUM 6.6

DescriptionCVE.org

TCG TPM2.0 Reference implementation's CryptHmacSign helper function is vulnerable to Out-of-Bounds read due to the lack of validation the signature scheme with the signature key's algorithm. See Errata Revision 1.83 and advisory TCGVRT0009 for TCG standard TPM2.0

Executive ViewAI

Why It Matters

CVE-2025-2884 presents notable security risk, a out-of-bounds read vulnerability rated CVSS 6.6. Exploitation could cause memory corruption or application crashes. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: enable ASLR/DEP, apply network segmentation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Medium
TPM2.0 software used in trusted computing environments
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy