Skip to content
Fencer Vulns
medium 5.9

CVE-2025-49133 json

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

published 2025-06-10 16 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-17819

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 8%
public exploits
0
none known

Summary

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.

Patch / fix

  • libtpms_project libtpms 0.7.12, 0.8.10, 0.9.7, 0.10.1
  • libtpms Debian 12 0.9.2-3.1+deb12u1
  • libtpms Debian 14, Debian 13 0.9.2-3.2

debian advisories DEBIAN-CVE-2025-49133

  • libtpms Ubuntu 22.04 LTS 0.9.3-0ubuntu1.22.04.2
  • libtpms Ubuntu 24.04 LTS 0.9.3-0ubuntu4.24.04.1

ubuntu advisories UBUNTU-CVE-2025-49133

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libtpms RHEL 10.0 0.9.6-11.el10_0
  • SLOF RHEL 8 20210217-2.module+el8.10.0+20141+6faa2812
  • hivex RHEL 8 1.3.18-23.module+el8.9.0+18724+20190c23
  • netcf RHEL 8 0.2.8-12.module+el8.9.0+18724+20190c23
  • swtpm RHEL 8 0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23
  • libnbd RHEL 8 1.6.0-6.module+el8.10.0+22250+3c790083
  • nbdkit RHEL 8 1.24.0-5.module+el8.9.0+18724+20190c23
  • libtpms RHEL 8 0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+23348+204cfc70

red hat advisories RHSA-2025:16428RHSA-2025:12527RHSA-2025:12293RHSA-2025:12234RHSA-2025:12100RHSA-2025:12111

  • libtpms SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 0.8.2-150300.3.12.1
  • libtpms SLE Module for Server Applications 15 SP7, openSUSE Leap 15.6 0.9.6-150600.3.3.1
  • libtpms Linux Micro 6.1 0.9.6-slfo.1.1_2.1
  • libtpms Linux Micro 6.0 0.9.6-2.1

suse advisories SUSE-SU-2026:4278-1SUSE-SU-2026:1388-1SUSE-SU-2026:21035-1SUSE-SU-2026:21064-1

  • libtpms openSUSE Tumbleweed 0.10.1-1.1

opensuse advisories openSUSE-SU-2025:15244-1

  • libtpms AlmaLinux 10 0.9.6-11.el10_0
  • SLOF AlmaLinux 8 20210217-2.module_el8.10.0+3768+dfd76e10
  • hivex AlmaLinux 8 1.3.18-23.module_el8.6.0+2880+7d9e3703
  • hivex AlmaLinux 8 1.3.18-23.module_el8.6.0+3161+a07c0ea5
  • netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+2880+7d9e3703
  • netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+3161+a07c0ea5
  • swtpm AlmaLinux 8 0.7.0-4.20211109gitb79fd91.module_el8.7.0+3346+68867adb
  • libnbd AlmaLinux 8 1.6.0-6.module_el8.10.0+3897+eb84924d

almalinux advisories ALSA-2025:16428ALSA-2025:12527ALSA-2025:12100

  • libtpms Rocky Linux 9 0.9.1-5.20211126git1ff6fe1f43.el9_6
  • libtpms Rocky Linux 10 0.9.6-11.el10_0
  • hivex Rocky Linux 8 1.3.18-23.module+el8.10.0+1835+43f01cbb
  • hivex Rocky Linux 8 1.3.18-23.module+el8.10.0+1590+a67ab969
  • netcf Rocky Linux 8 0.2.8-12.module+el8.10.0+1835+43f01cbb
  • netcf Rocky Linux 8 0.2.8-12.module+el8.10.0+1590+a67ab969
  • swtpm Rocky Linux 8 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1590+a67ab969
  • swtpm Rocky Linux 8 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1835+43f01cbb

rocky linux advisories RLSA-2025:12100RLSA-2025:16428RLSA-2025:12527

  • libtpms Alpine 3.20, Alpine 3.19 0.9.7-r0
  • libtpms Alpine 3.24, Alpine 3.23, Alpine 3.22 0.10.1-r0

alpine advisories ALPINE-CVE-2025-49133

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libtpms Azure Linux 3.0 0.9.6-8

azure linux advisories AZL-63702

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-49133 updated cvss 5.9

libtpms: Libtpms Out-of-Bounds Read Vulnerability

  • Red Hat Enterprise Linux 8 Advanced Virtualization libtpms
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux AppStream (v. 8) netcf 0.2.8-12.module+el8.9.0+18724+20190c23, hivex 1.3.18-23.module+el8.9.0+18724+20190c23, libnbd 1.6.0-6.module+el8.10.0+22250+3c790083, nbdkit 1.24.0-5.module+el8.9.0+18724+20190c23, nbdfuse 1.6.0-6.module+el8.10.0+22250+3c790083, seabios 1.16.0-4.module+el8.9.0+19570+14a90618, +104 more
    fixed: vendor fix RHSA-2025:12527
  • Red Hat Enterprise Linux AppStream (v. 9) libtpms 0.9.1-5.20211126git1ff6fe1f43.el9_6
    fixed: vendor fix RHSA-2025:12100
  • Red Hat Enterprise Linux AppStream (v. 10) libtpms 0.9.6-11.el10_0
    fixed: vendor fix RHSA-2025:16428
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) libnbd 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, netcf 0.2.8-12.module+el8.6.0+14480+c0a3aa0f, hivex 1.3.18-23.module+el8.6.0+14480+c0a3aa0f, nbdfuse 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, nbdkit 1.24.0-4.module+el8.6.0+14480+c0a3aa0f, supermin 5.2.1-1.module+el8.6.0+14480+c0a3aa0f, +103 more Red Hat Enterprise Linux AppStream E4S (v.8.6) libnbd 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, netcf 0.2.8-12.module+el8.6.0+14480+c0a3aa0f, hivex 1.3.18-23.module+el8.6.0+14480+c0a3aa0f, nbdfuse 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, nbdkit 1.24.0-4.module+el8.6.0+14480+c0a3aa0f, SLOF 20210217-1.module+el8.6.0+14480+c0a3aa0f, +104 more
    fixed: vendor fix RHSA-2025:12234
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) libnbd 1.6.0-5.module+el8.8.0+16781+9f4724c2, netcf 0.2.8-12.module+el8.8.0+16781+9f4724c2, hivex 1.3.18-23.module+el8.8.0+16781+9f4724c2, nbdfuse 1.6.0-5.module+el8.8.0+16781+9f4724c2, nbdkit 1.24.0-5.module+el8.8.0+17308+05924798, SLOF 20210217-2.module+el8.8.0+20737+daad9f3b, +104 more
    fixed: vendor fix RHSA-2025:12293
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) libtpms 0.9.1-5.20211126git1ff6fe1f43.el9_2
    fixed: vendor fix RHSA-2025:12112
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) libtpms 0.9.1-5.20211126git1ff6fe1f43.el9_4
    fixed: vendor fix RHSA-2025:12111
show 3 more
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) libnbd 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, netcf 0.2.8-12.module+el8.6.0+14480+c0a3aa0f, hivex 1.3.18-23.module+el8.6.0+14480+c0a3aa0f, nbdfuse 1.6.0-5.module+el8.6.0+14480+c0a3aa0f, nbdkit 1.24.0-4.module+el8.6.0+14480+c0a3aa0f, supermin 5.2.1-1.module+el8.6.0+14480+c0a3aa0f, +103 more
    fixed: vendor fix RHSA-2025:12234
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) libnbd 1.6.0-5.module+el8.8.0+16781+9f4724c2, netcf 0.2.8-12.module+el8.8.0+16781+9f4724c2, hivex 1.3.18-23.module+el8.8.0+16781+9f4724c2, nbdfuse 1.6.0-5.module+el8.8.0+16781+9f4724c2, nbdkit 1.24.0-5.module+el8.8.0+17308+05924798, seabios 1.16.0-4.module+el8.8.0+19627+2d14cb21, +103 more
    fixed: vendor fix RHSA-2025:12293
  • Red Hat Enterprise Linux CRB (v. 8) netcf 0.2.8-12.module+el8.9.0+18724+20190c23, hivex 1.3.18-23.module+el8.9.0+18724+20190c23, libnbd 1.6.0-6.module+el8.10.0+22250+3c790083, nbdfuse 1.6.0-6.module+el8.10.0+22250+3c790083, seabios 1.16.0-4.module+el8.9.0+19570+14a90618, SLOF 20210217-2.module+el8.10.0+20141+6faa2812, +38 more
    fixed: vendor fix RHSA-2025:12527

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
16 mo ago

Exploit prediction

0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • stefanberger libtpms

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.