Skip to main content
No exploitation reportedFix available

CVE-2025-49133

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

No exploitation reported by the sources we read.

  • Published2025-06-10
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-06-1020:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-49133?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-49133?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Libtpms project libtpms
BranchAffectedFixed in
0.7= 0.7.11no fix published
0.8= 0.8.9no fix published
0.9= 0.9.6no fix published
0.10= 0.10.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • hivexAlmaLinux:8all versions · fixed in 1.3.18-23.module_el8.6.0+3161+a07c0ea5and 6 other packages
  • hivexAlmaLinux:8all versions · fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703and 6 other packages
  • libguestfsAlmaLinux:8all versions · fixed in 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.almaand 24 other packages
  • libguestfs-winsupportAlmaLinux:8all versions · fixed in 8.10-1.module_el8.10.0+3768+dfd76e10
  • libiscsiAlmaLinux:8all versions · fixed in 1.18.0-8.module_el8.6.0+3161+a07c0ea5and 2 other packages
  • libiscsiAlmaLinux:8all versions · fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703and 2 other packages
  • libnbdAlmaLinux:8all versions · fixed in 1.6.0-6.module_el8.10.0+3897+eb84924dand 6 other packages
  • libtpmsAlmaLinux:10all versions · fixed in 0.9.6-11.el10_0

18 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-49133 Red Hat Product Security2,927 products fixed · 6 known affected

    libtpms: Libtpms Out-of-Bounds Read Vulnerability

    libtpms-devel (virt:8.2) as a component of Red Hat Enterprise Linux 8 Advanced Virtualization · libtpms-devel (virt:av) as a component of Red Hat Enterprise Linux 8 Advanced Virtualization · libtpms.src (virt:8.2) as a component of Red Hat Enterprise Linux 8 Advanced Virtualization · +3 more

  • RHSA-2025:16428 Red Hat Product Security10 products fixed

    Red Hat Security Advisory: libtpms security update

  • RHSA-2025:12527 Red Hat Product Security938 products fixed

    Red Hat Security Advisory: virt:rhel and virt-devel:rhel security update

  • RHSA-2025:12293 Red Hat Product Security663 products fixed

    Red Hat Security Advisory: virt:rhel and virt-devel:rhel security update

  • RHSA-2025:12234 Red Hat Product Security1,277 products fixed

    Red Hat Security Advisory: virt:rhel and virt-devel:rhel security update

  • RHSA-2025:12111 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: libtpms security update

2 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2025:16428 · 10 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2025:16428 · 10 productsMitigation 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.
  3. No fix available, says the vendor Red Hat Product Security CVE-2025-49133 · 6 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionnone2025-06-10
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.15.9read 2026-10-23
  • NVDCVSS 3.15.5read 2026-10-23
  • CNAweakness (CWE)CWE-125read 2026-10-23
  • FIRST EPSSEPSS score0.2 %2026-10-23
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
2025-06-10
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2025-49133?

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.

Is CVE-2025-49133 actively exploited?

Active exploitation of CVE-2025-49133 has not been confirmed. Its EPSS score was 0.2% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-49133?

CVE-2025-49133 has a CVSS v3 base score of 5.5 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Running libtpms? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month