cve.bz

CVE-2025-49133 libtpms project libtpms: Out-of-bounds Read

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in libtpms project libtpms. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-49133 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-49133?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-49133?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-49133 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libtpms_project:libtpms0.7.11
libtpms_project:libtpms0.8.9
libtpms_project:libtpms0.9.6
libtpms_project:libtpms0.10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libtpms0.9.2-3.1+deb12u1DEBIAN-CVE-2025-49133
Debian13, 14libtpms0.9.2-3.2DEBIAN-CVE-2025-49133
Ubuntu22.04:LTSlibtpms0.9.3-0ubuntu1.22.04.2UBUNTU-CVE-2025-49133 USN-7617-1
Ubuntu24.04:LTSlibtpms0.9.3-0ubuntu4.24.04.1UBUNTU-CVE-2025-49133 USN-7617-1
Red Hatenterprise_linux:8::appstreamhivex, perl-hivex, ruby-hivex and 7 more0:1.3.18-23.module+el8.9.0+18724+20190c23RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamlibnbd, nbdfuse, libnbd-devel and 6 more0:1.6.0-6.module+el8.10.0+22250+3c790083RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamlibtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+23348+204cfc70RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamlibvirt, libvirt-nss, libvirt-docs and 48 more0:8.0.0-23.4.module+el8.10.0+23205+d8da55c1RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamlibvirt-python, python3-libvirt, python3-libvirt-debuginfo and 1 more0:8.0.0-2.module+el8.9.0+18724+20190c23RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamnbdkit, nbdkit-devel, nbdkit-server and 34 more0:1.24.0-5.module+el8.9.0+18724+20190c23RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamqemu-img, qemu-kvm, qemu-kvm-core and 25 more15:6.2.0-53.module+el8.10.0+23081+c18b1ee3.4RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamseabios, seabios-bin, seavgabios-bin0:1.16.0-4.module+el8.9.0+19570+14a90618RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamsgabios, sgabios-bin1:0.20170427git-3.module+el8.9.0+18724+20190c23RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamsupermin, supermin-devel, supermin-debuginfo and 1 more0:5.2.1-2.module+el8.9.0+18724+20190c23RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamswtpm, swtpm-libs, swtpm-devel and 6 more0:0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23RHSA-2025:12527
Red Hatenterprise_linux:8::appstreamvirt-dib, libguestfs, lua-guestfs and 30 more1:1.44.0-9.module+el8.9.0+18724+20190c23RHSA-2025:12527
58 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5libtpms0.8.2-150300.3.12.1SUSE-SU-2026:4278-1
SUSELinux Enterprise Module for Server Applications 15 SP7libtpms0.9.6-150600.3.3.1SUSE-SU-2026:1388-1
SUSELinux Micro 6.0libtpms0.9.6-2.1SUSE-SU-2026:21064-1
SUSELinux Micro 6.1libtpms0.9.6-slfo.1.1_2.1SUSE-SU-2026:21035-1
openSUSELeap 15.6libtpms0.9.6-150600.3.3.1SUSE-SU-2026:1388-1
openSUSETumbleweedlibtpms0.10.1-1.1openSUSE-SU-2025:15244-1
AlmaLinux8SLOF20210217-2.module_el8.10.0+3768+dfd76e10ALSA-2025:12527
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+2880+7d9e3703ALSA-2025:12527
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+3161+a07c0ea5ALSA-2025:12527
AlmaLinux8libguestfs-winsupport8.10-1.module_el8.10.0+3768+dfd76e10ALSA-2025:12527
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703ALSA-2025:12527
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+3161+a07c0ea5ALSA-2025:12527
AlmaLinux8libnbd, nbdfuse, libnbd-devel and 4 more1.6.0-6.module_el8.10.0+3897+eb84924dALSA-2025:12527
AlmaLinux8libtpms, libtpms-devel0.9.1-3.20211126git1ff6fe1f43.module_el8.10.0+4031+06966654ALSA-2025:12527
AlmaLinux8libvirt, libvirt-nss, libvirt-docs and 25 more8.0.0-23.4.module_el8.10.0+4031+06966654ALSA-2025:12527
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+2880+7d9e3703ALSA-2025:12527
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+3161+a07c0ea5ALSA-2025:12527
AlmaLinux8nbdkit, nbdkit-devel, nbdkit-server and 16 more1.24.0-5.module_el8.8.0+3485+7cffc4a3ALSA-2025:12527
14 more for AlmaLinux in the JSON.
Rocky Linux8hivex0:1.3.18-23.module+el8.10.0+1590+a67ab969RLSA-2025:12527
Rocky Linux8hivex0:1.3.18-23.module+el8.10.0+1835+43f01cbbRLSA-2025:12527
Rocky Linux8libguestfs1:1.44.0-9.module+el8.10.0+1590+a67ab969.rockyRLSA-2025:12527
Rocky Linux8libguestfs1:1.44.0-9.module+el8.10.0+1835+43f01cbb.rocky.rockyRLSA-2025:12527
Rocky Linux8libguestfs-winsupport0:8.10-1.module+el8.10.0+1451+358d0d76RLSA-2025:12527
Rocky Linux8libguestfs-winsupport0:8.10-1.module+el8.10.0+1835+43f01cbbRLSA-2025:12527
Rocky Linux8libiscsi0:1.18.0-8.module+el8.10.0+1590+a67ab969RLSA-2025:12527
Rocky Linux8libiscsi0:1.18.0-8.module+el8.10.0+1835+43f01cbbRLSA-2025:12527
Rocky Linux8libnbd0:1.6.0-6.module+el8.10.0+1870+0a714c9fRLSA-2025:12527
Rocky Linux8libtpms0:0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+2014+5ad6bca0RLSA-2025:12527
Rocky Linux8libvirt0:8.0.0-23.4.module+el8.10.0+2015+baffef50RLSA-2025:12527
Rocky Linux8libvirt-dbus0:1.3.0-2.module+el8.10.0+1590+a67ab969RLSA-2025:12527
23 more for Rocky Linux in the JSON.
Alpinev3.19, v3.20libtpms0.9.7-r0ALPINE-CVE-2025-49133
Alpinev3.22, v3.23, v3.24libtpms0.10.1-r0ALPINE-CVE-2025-49133
Azure Linux3libtpms0.9.6-8AZL-63702

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability, identified as a potential out-of-bounds read, is triggered by inconsistent parameters within the CryptHmacSign function of the vTPM (virtual Trusted Platform Module). Although the attack is local to the system, it requires user interaction in the form of sending malicious commands to the vTPM. The primary impact is a denial-of-service (DoS) to the virtual machine (VM) by rendering its vTPM unavailable. This prevents the VM from utilizing critical TPM functionality, which can lead to significant operational disruption. While this flaw does not enable arbitrary code execution, the potential for DoS and broader system instability justifies a Moderate severity rating. The requirement for specific user interaction reduces its severity from what would otherwise be an Important classification.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libtpms-0:0.9.6-11.el10_0Fixed 2025-09-23RHSA-2025:16428
Red Hat Enterprise Linux 8virt-devel:rhel-8100020250722092921.489197e6Fixed 2025-08-04RHSA-2025:12527
Red Hat Enterprise Linux 8virt:rhel-8100020250722092921.489197e6Fixed 2025-08-04RHSA-2025:12527
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportvirt:rhel-8060020250716064909.ad008a3aFixed 2025-07-30RHSA-2025:12234
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicevirt:rhel-8060020250716064909.ad008a3aFixed 2025-07-30RHSA-2025:12234
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsvirt:rhel-8060020250716064909.ad008a3aFixed 2025-07-30RHSA-2025:12234
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicevirt:rhel-8080020250715121528.63b34585Fixed 2025-07-30RHSA-2025:12293
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsvirt:rhel-8080020250715121528.63b34585Fixed 2025-07-30RHSA-2025:12293
Red Hat Enterprise Linux 9libtpms-0:0.9.1-5.20211126git1ff6fe1f43.el9_6Fixed 2025-07-29RHSA-2025:12100
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibtpms-0:0.9.1-5.20211126git1ff6fe1f43.el9_2Fixed 2025-07-29RHSA-2025:12112
Red Hat Enterprise Linux 9.4 Extended Update Supportlibtpms-0:0.9.1-5.20211126git1ff6fe1f43.el9_4Fixed 2025-07-29RHSA-2025:12111
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/libtpmsFix deferred
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/libtpmsFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-49133.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON