SB20261203566 - Multiple vulnerabilities in libtpms
Published: December 3, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 vulnerabilities.
1) Out-of-bounds read (CVE-ID: N/A)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: 7.1 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker on the local network to cause a denial of service affecting the emulated TPM and the virtual machine that depends on it.
The vulnerability exists due to out-of-bounds reads in the libtpms state unmarshalling code when restoring TPM 2.0 state, with related paths involving insufficient buffer bounds checks, integer overflows, or missing string terminators. A remote attacker on the local network can supply malformed TPM state data to crash the process hosting libtpms during state restoration.
2) Heap-based buffer overflow (CVE-ID: N/A)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: 0 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to corrupt heap memory in the TPM 1.2 emulator process before authorization checks.
The vulnerability exists due to a heap-based buffer overflow in TPM_MsaComposite_Load when an integer overflow causes the loader to allocate too little space for migration digests. A remote attacker can submit a malformed CMK_CreateBlob or CMK_ConvertMigration command to trigger an out-of-bounds write.
3) Integer overflow (CVE-ID: N/A)
CWE-ID: CWE-190 - Integer overflow
CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to disclose or corrupt adjacent heap memory on 32-bit builds or crash the emulator on 64-bit builds.
The vulnerability exists due to integer overflow in the bounds calculations of the TPM 1.2 NVRAM handlers when processing read or write requests. A local user can submit malformed NVRAM requests without TPM authorization before the NV lock is set, or with authorization afterward, to access memory outside the NVRAM buffer or cause a denial of service.
4) Out-of-bounds read (CVE-ID: N/A)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to cause a denial of service on some OpenSSL versions and CPU architectures.
The vulnerability exists due to an out-of-bounds read in the TPM 1.2 context decryption path when the encrypted input does not end on an AES block boundary. A local user can submit a crafted key or authorization context load request to potentially terminate the process using libtpms.
5) Access of Uninitialized Pointer (CVE-ID: N/A)
CWE-ID: CWE-824 - Access of Uninitialized Pointer
CVSSv4: 5.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a local user to cause a denial of service by crashing a libtpms-based TPM 2 emulator.
The vulnerability exists due to access to uninitialized function pointers in libtpms TPM 2 state handling when SMAC state is omitted during save and restore. A local user can use an incompletely restored SMAC session to cause the emulator to crash.
Remediation
Install update from vendor's website.
References
- https://github.com/stefanberger/libtpms/security/advisories/GHSA-3J28-CV9J-8GMR
- https://github.com/stefanberger/libtpms/security/advisories/GHSA-Q844-94J6-GJ2P
- https://github.com/stefanberger/libtpms/security/advisories/GHSA-MJ5H-VXQM-VJF9
- https://github.com/stefanberger/libtpms/security/advisories/GHSA-627Q-VJCR-3FJJ
- https://github.com/stefanberger/libtpms/security/advisories/GHSA-M5JC-R52R-V223