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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2025-06-1020:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock 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| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.7 | = 0.7.11 | no fix published | NVD |
| 0.8 | = 0.8.9 | no fix published | NVD |
| 0.9 | = 0.9.6 | no fix published | NVD |
| 0.10 | = 0.10.0 | no fix published | NVD |
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
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
Red Hat Security Advisory: libtpms security update
Red Hat Security Advisory: virt:rhel and virt-devel:rhel security update
Red Hat Security Advisory: virt:rhel and virt-devel:rhel security update
Red Hat Security Advisory: virt:rhel and virt-devel:rhel security update
Red Hat Security Advisory: libtpms security update
2 more advisories
Fix
- 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
- 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.
- No fix available, says the vendor Red Hat Product Security CVE-2025-49133 · 6 productsFix deferred
Advisories and patches
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
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?
Is CVE-2025-49133 actively exploited?
What is the CVSS score for CVE-2025-49133?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.