Out-of-bounds Read Affecting stefanberger/libtpms package, versions [,0.7.12)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-STEFANBERGERLIBTPMS-10674046
  • published10 Jul 2025
  • disclosed10 Jun 2025
  • creditUnknown

Introduced: 10 Jun 2025

CVE-2025-49133  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade stefanberger/libtpms to version 0.7.12 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to improper validation of the signature scheme relative to the signature key's algorithm. An attacker can read memory locations that are out of the intended bounds by manipulating the input data to the CryptHmacSign function. This could potentially lead to information disclosure or disruption of the process.

CVSS Base Scores

version 4.0
version 3.1