TCG TPM2.0 RefImpl OOB Read in CryptHmacSign (before v1.83)
CVE-2025-2884 Published on June 10, 2025
Out-of-Bounds read vulnerability in TCG TPM2.0 reference implementation
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
Vulnerability Analysis
CVE-2025-2884 is exploitable with local system access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity, and a high impact on availability.
Weakness Type
Out-of-bounds Read
The software reads data past the end, or before the beginning, of the intended buffer. Typically, this can allow attackers to read sensitive information from other memory locations or cause a crash. A crash can occur when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string. The expected sentinel might not be located in the out-of-bounds memory, causing excessive data to be read, leading to a segmentation fault or a buffer overflow. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent read operation then produces undefined or unexpected results.
Products Associated with CVE-2025-2884
Want to know whenever a new CVE is published for Siemens Simatic Cn 4100? stack.watch will email you.
Affected Versions
Trusted Computing Group TPM2.0:- Before 1.83 is affected.
- Before * is affected.
- Before * is affected.
- Before * is affected.
- Before V29.01.09 is affected.
- Before V29.01.09 is affected.
- Before V32.01.09 is affected.
- Before V32.01.09 is affected.
- Before V30.01.10 is affected.
- Before V29.01.09 is affected.
- Before V29.01.09 is affected.
- Before V29.01.09 is affected.
- Before V34.01.02 is affected.
- Before V34.01.02 is affected.
- Before * is affected.
- Before * is affected.
- Before V21.01.20 is affected.
- Before V21.01.20 is affected.
- Before V21.01.20 is affected.
- Before * is affected.
- Before * is affected.
- Before * is affected.
- Before * is affected.
- Before * is affected.
- Before V21.01.20 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.