5.9

CVE-2025-49133: Libtpms contains a possible out-of-bound access and abort due to HMAC signing issue

Modified
AliasesMGASA-2025-0248SUSE-SU-2026:1388-1SUSE-SU-2026:21035-1
Published 10-06-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-49133 is a medium (CVSS 5.9) Out-of-bounds Read vulnerability in libtpms_project libtpms. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.17%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 10-06-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

Libtpms is a library that targets the integration of TPM functionality into hypervisors, primarily into Qemu. Libtpms, which is derived from the TPM 2.0 reference implementation code published by the Trusted Computing Group, is prone to a potential out of bounds (OOB) read vulnerability. The vulnerability occurs in the ‘CryptHmacSign’ function with an inconsistent pairing of the signKey and signScheme parameters, where the signKey is ALG_KEYEDHASH key and inScheme is an ECC or RSA scheme. The reported vulnerability is in the ‘CryptHmacSign’ function, which is defined in the "Part 4: Supporting Routines – Code" document, section "7.151 - /tpm/src/crypt/CryptUtil.c ". This vulnerability can be triggered from user-mode applications by sending malicious commands to a TPM 2.0/vTPM (swtpm) whose firmware is based on an affected TCG reference implementation. The effect on libtpms is that it will cause an abort due to the detection of the out-of-bounds access, thus for example making a vTPM (swtpm) unavailable to a VM. This vulnerability is fixed in 0.7.12, 0.8.10, 0.9.7, and 0.10.1.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.16% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat194 products
  • hivex< 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f | < 0:1.3.18-23.module+el8.8.0+16781+9f4724c2 | < 0:1.3.18-23.module+el8.9.0+18724+20190c23
  • hivex-debuginfo< 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f | < 0:1.3.18-23.module+el8.8.0+16781+9f4724c2 | < 0:1.3.18-23.module+el8.9.0+18724+20190c23
  • hivex-debugsource< 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f | < 0:1.3.18-23.module+el8.8.0+16781+9f4724c2 | < 0:1.3.18-23.module+el8.9.0+18724+20190c23
  • hivex-devel< 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f | < 0:1.3.18-23.module+el8.8.0+16781+9f4724c2 | < 0:1.3.18-23.module+el8.9.0+18724+20190c23
  • libguestfs< 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | < 1:1.44.0-9.module+el8.8.0+16781+9f4724c2 | < 1:1.44.0-9.module+el8.9.0+18724+20190c23
Opensuse2 products
  • libtpms&distro=openSUSE Leap 15.6< 0.9.6-150600.3.3.1
  • libtpms&distro=openSUSE Tumbleweed< 0.10.1-1.1
Debian1 product
  • libtpms< 0.9.2-3.1+deb12u1 | < 0.9.2-3.2
Libtpms_project1 product
  • libtpms0.7.11 | 0.8.9 | 0.9.6 | 0.10.0
Mageia1 product
  • libtpms< 0.9.6-1.1.mga9
Ubuntu1 product
  • libtpms< 0.9.3-0ubuntu1.22.04.2 | < 0.9.3-0ubuntu4.24.04.1

6 vendors · 200 products · Showing 200 of 240

References

35 links
Show all 35 references