CVE-2025-2884 Out-of-Bounds read vulnerability in TCG TPM2.0 reference implementation

Medium 6.6 Published Updated

An out-of-bounds read in the TPM2.0 reference implementation allows attackers to read memory or cause denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-2884?

CVE-2025-2884 is a medium-severity memory corruption vulnerability in Trusted Computing Group TPM2.0, published on 10 Jun 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-125

Which versions are affected by CVE-2025-2884?

How do I fix CVE-2025-2884?

No fix has been published for CVE-2025-2884 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-2884 being exploited?

There is no known exploitation of CVE-2025-2884 in the wild and no public exploit code.

Sources

Also known as GHSA-3fxc-2crv-fg9x.

Is CVE-2025-2884 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free