# CVE-2026-21444: libtpms returns wrong initialization vector when certain symmetric ciphers are used

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.08%, higher than 0% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-02T19:05:31.503Z
- Modified: 2026-06-17T10:18:40.993Z
- Weaknesses: CWE-327, CWE-330
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- stefanberger libtpms: >= 0.10.0, < 0.10.2
- libtpms_project libtpms: from 0.10.0 before 0.10.2

## References

- <https://github.com/stefanberger/libtpms/issues/541> (exploit, issue-tracking)
- <https://github.com/stefanberger/libtpms/security/advisories/GHSA-7jxr-4j3g-p34f> (patch, vendor-advisory)
- <https://github.com/stefanberger/libtpms/commit/33c9ff074cb16c1841ce7d7f33643c17c426743a> (patch)

## Sources

- CVE List: [CVE-2026-21444](https://www.cve.org/CVERecord?id=CVE-2026-21444), CVE Terms of Use, modified 2026-01-05
- NVD: [CVE-2026-21444](https://nvd.nist.gov/vuln/detail/CVE-2026-21444), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21444 · Whole record: https://cve.day/CVE-2026-21444.json · Rebuilt by cve.day 2026-11-25T22:59:12.593Z
