CVE-2026-21444

libtpms returns wrong initialization vector when certain symmetric ciphers are used

State
Published
Severity
5.5 Medium
Published
Jan 2, 2026
Updated
Jan 5, 2026
Reserved
Dec 29, 2025

Read the record on cve.org

Description

libtpms, a library that provides software emulation of a Trusted Platform Module, has a flaw in versions 0.10.0 and 0.10.1. The commonly used integration of libtpms with OpenSSL 3.x contained a vulnerability related to the returned IV (initialization vector) when certain symmetric ciphers were used. Instead of returning the last IV it returned the initial IV to the caller, thus weakening the subsequent encryption and decryption steps. The highest threat from this vulnerability is to data confidentiality. Version 0.10.2 fixes the issue. No known workarounds are available.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm
  • CWE-330 Use of Insufficiently Random Values

Affected Products

ProductVersions
libtpmsstefanberger
  • >= 0.10.0, < 0.10.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.