CVE-2025-49133
published medium CVSS 3.1 · 5.9Libtpms contains a possible out-of-bound access and abort due to HMAC signing issue
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| stefanberger | — | libtpms= 0.7.11 · = 0.8.9 · = 0.9.6 · = 0.10.0 | Affected | Not stated | GitHub_M |
| AlmaLinux | 10 | libtpms | Advisory build | 0.9.6-11.el10_0 | ALSA-2025:16428 |
| Alpine Linux | edge | libtpms | Fixed | 0.10.1-r0 | Package fix record |
| Oracle Linux | 10 | libtpmsaarch64 | Advisory build | 0:0.9.6-11.el10_0 | ELSA-2025-16428 |
| Red Hat Enterprise Linux | RHEL-10 | libtpmsaarch64 | Advisory build | 0.9.6-11.el10_0 | RHSA-2025:16428 |
| Ubuntu | jammy | libtpms | Advisory build | 0.9.3-0ubuntu1.22.04.2 | USN-7617-1 |
| AlmaLinux | 8 | libtpms | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 9 | libtpms | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_6 | ALSA-2025:12100 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | libtpms | Fixed | 0.9.7-r0 | Package fix record |
| Alpine Linux | v3.20 | libtpms | Fixed | 0.9.7-r0 | Package fix record |
| Alpine Linux | v3.22 | libtpms | Fixed | 0.10.1-r0 | Package fix record |
| Alpine Linux | v3.23 | libtpms | Fixed | 0.10.1-r0 | Package fix record |
| Alpine Linux | v3.24 | libtpms | Fixed | 0.10.1-r0 | Package fix record |
| Oracle Linux | 10 | libtpmsx86_64 | Advisory build | 0:0.9.6-11.el10_0 | ELSA-2025-16428 |
| Oracle Linux | 8 | libtpmsaarch64 · virt · ol is enabled | Advisory build | 0:0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+90638+6d8ade84 | ELSA-2025-12527 |
| Oracle Linux | 8 | libtpmsx86_64 · virt · ol is enabled | Advisory build | 0:0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+90638+6d8ade84 | ELSA-2025-12527 |
| Oracle Linux | 9 | libtpmsaarch64 | Advisory build | 0:0.9.1-5.20211126git1ff6fe1f43.el9_6 | ELSA-2025-12100 |
| Oracle Linux | 9 | libtpmsx86_64 | Advisory build | 0:0.9.1-5.20211126git1ff6fe1f43.el9_6 | ELSA-2025-12100 |
| Red Hat Enterprise Linux | RHEL-10 | libtpmss390x | Advisory build | 0.9.6-11.el10_0 | RHSA-2025:16428 |
| Red Hat Enterprise Linux | RHEL-10 | libtpmssrc | Advisory build | 0.9.6-11.el10_0 | RHSA-2025:16428 |
| Red Hat Enterprise Linux | RHEL-10 | libtpmsx86_64 | Advisory build | 0.9.6-11.el10_0 | RHSA-2025:16428 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmsaarch64 | Advisory build | 0.9.1-2.20211126git1ff6fe1f43.module+el8.6.0+23331+44040c55 | RHSA-2025:12234 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmsaarch64 | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+23348+204cfc70 | RHSA-2025:12527 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmsppc64le | Advisory build | 0.9.1-2.20211126git1ff6fe1f43.module+el8.6.0+23331+44040c55 | RHSA-2025:12234 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmsppc64le | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+23348+204cfc70 | RHSA-2025:12527 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmsppc64le | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module+el8.8.0+23328+ce46509e | RHSA-2025:12293 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmss390x | Advisory build | 0.9.1-2.20211126git1ff6fe1f43.module+el8.6.0+23331+44040c55 | RHSA-2025:12234 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmss390x | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+23348+204cfc70 | RHSA-2025:12527 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmssrc | Advisory build | 0.9.1-2.20211126git1ff6fe1f43.module+el8.6.0+23331+44040c55 | RHSA-2025:12234 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmssrc | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+23348+204cfc70 | RHSA-2025:12527 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmssrc | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module+el8.8.0+23328+ce46509e | RHSA-2025:12293 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmsx86_64 | Advisory build | 0.9.1-2.20211126git1ff6fe1f43.module+el8.6.0+23331+44040c55 | RHSA-2025:12234 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmsx86_64 | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+23348+204cfc70 | RHSA-2025:12527 |
| Red Hat Enterprise Linux | RHEL-8 | libtpmsx86_64 | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module+el8.8.0+23328+ce46509e | RHSA-2025:12293 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsaarch64 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_2 | RHSA-2025:12112 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsaarch64 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_4 | RHSA-2025:12111 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsaarch64 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_6 | RHSA-2025:12100 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsi686 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_2 | RHSA-2025:12112 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsi686 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_4 | RHSA-2025:12111 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsi686 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_6 | RHSA-2025:12100 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmss390x | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_2 | RHSA-2025:12112 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmss390x | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_4 | RHSA-2025:12111 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmss390x | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_6 | RHSA-2025:12100 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmssrc | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_2 | RHSA-2025:12112 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmssrc | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_4 | RHSA-2025:12111 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmssrc | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_6 | RHSA-2025:12100 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsx86_64 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_2 | RHSA-2025:12112 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsx86_64 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_4 | RHSA-2025:12111 |
| Red Hat Enterprise Linux | RHEL-9 | libtpmsx86_64 | Advisory build | 0.9.1-5.20211126git1ff6fe1f43.el9_6 | RHSA-2025:12100 |
| Ubuntu | noble | libtpms | Advisory build | 0.9.3-0ubuntu4.24.04.1 | USN-7617-1 |
| AlmaLinux | 8 | SLOF | Advisory build | 20210217-2.module_el8.10.0+3768+dfd76e10 | ALSA-2025:12527 |
| AlmaLinux | 8 | hivex | Advisory build | 1.3.18-23.module_el8.6.0+2880+7d9e3703 | ALSA-2025:12527 |
| AlmaLinux | 8 | hivex | Advisory build | 1.3.18-23.module_el8.6.0+3161+a07c0ea5 | ALSA-2025:12527 |
| AlmaLinux | 8 | hivex-devel | Advisory build | 1.3.18-23.module_el8.6.0+2880+7d9e3703 | ALSA-2025:12527 |
| AlmaLinux | 8 | hivex-devel | Advisory build | 1.3.18-23.module_el8.6.0+3161+a07c0ea5 | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-appliance | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-bash-completion | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-devel | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-gfs2 | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-gobject | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-gobject-devel | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-inspect-icons | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-java | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-java-devel | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-javadoc | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-man-pages-ja | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-man-pages-uk | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-rescue | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-rsync | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-tools | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-tools-c | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-winsupport | Advisory build | 8.10-1.module_el8.10.0+3768+dfd76e10 | ALSA-2025:12527 |
| AlmaLinux | 8 | libguestfs-xfs | Advisory build | 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma | ALSA-2025:12527 |
| AlmaLinux | 8 | libiscsi | Advisory build | 1.18.0-8.module_el8.6.0+2880+7d9e3703 | ALSA-2025:12527 |
| AlmaLinux | 8 | libiscsi | Advisory build | 1.18.0-8.module_el8.6.0+3161+a07c0ea5 | ALSA-2025:12527 |
| AlmaLinux | 8 | libiscsi-devel | Advisory build | 1.18.0-8.module_el8.6.0+2880+7d9e3703 | ALSA-2025:12527 |
| AlmaLinux | 8 | libiscsi-devel | Advisory build | 1.18.0-8.module_el8.6.0+3161+a07c0ea5 | ALSA-2025:12527 |
| AlmaLinux | 8 | libiscsi-utils | Advisory build | 1.18.0-8.module_el8.6.0+2880+7d9e3703 | ALSA-2025:12527 |
| AlmaLinux | 8 | libiscsi-utils | Advisory build | 1.18.0-8.module_el8.6.0+3161+a07c0ea5 | ALSA-2025:12527 |
| AlmaLinux | 8 | libnbd | Advisory build | 1.6.0-6.module_el8.10.0+3897+eb84924d | ALSA-2025:12527 |
| AlmaLinux | 8 | libnbd-bash-completion | Advisory build | 1.6.0-6.module_el8.10.0+3897+eb84924d | ALSA-2025:12527 |
| AlmaLinux | 8 | libnbd-devel | Advisory build | 1.6.0-6.module_el8.10.0+3897+eb84924d | ALSA-2025:12527 |
| AlmaLinux | 8 | libtpms-devel | Advisory build | 0.9.1-3.20211126git1ff6fe1f43.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-client | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-config-network | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-config-nwfilter | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-interface | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-network | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-nodedev | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-nwfilter | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-qemu | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-secret | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-storage | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-storage-core | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-storage-disk | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-storage-gluster | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-storage-iscsi | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
| AlmaLinux | 8 | libvirt-daemon-driver-storage-iscsi-direct | Advisory build | 8.0.0-23.4.module_el8.10.0+4031+06966654 | ALSA-2025:12527 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| stefanberger | libtpms | = 0.7.11 (affected)= 0.8.9 (affected)= 0.9.6 (affected)= 0.10.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
5- https://github.com/stefanberger/libtpms/commit/04b2d8e9afc0a9b6bffe562a23e58c0de11532d1
- https://github.com/stefanberger/libtpms/security/advisories/GHSA-25w5-6fjj-hf8g
- https://trustedcomputinggroup.org/resource/tpm-library-specification
- https://trustedcomputinggroup.org/wp-content/uploads/TPM-2.0-1.83-Part-4-Supporting-Routines-Code.pdf
- https://www.kb.cert.org/vuls/id/282450
Provider assertions
3GitHub_M · cna
Libtpms contains a possible out-of-bound access and abort due to HMAC signing issue
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ae4837c1a3b9940b93ae256c97cf16cb648f06d2325793a54fad8a412386e395
- Ingested
- 23 Sep 2026, 08:50:57 UTC
- Source record
- Official CVE record