Bug 2426838 - CVE-2026-21444 libtpms: return of wrong initialization vector when certain symmetric ciphers are used
Summary: CVE-2026-21444 libtpms: return of wrong initialization vector when certain sy...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libtpms
Version: 42
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Stefan Berger
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-02 17:31 UTC by Stefan Berger
Modified: 2026-01-18 01:43 UTC (History)
3 users (show)

Fixed In Version: libtpms-0.10.2-1.fc43 libtpms-0.10.2-1.fc42
Clone Of:
Environment:
Last Closed: 2026-01-18 01:41:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stefan Berger 2026-01-02 17:31:08 UTC
The commonly used integration of libtpms with OpenSSL >= 3.0 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. The fix for this required the copying of the last-used IV from OpenSSL so it can be return back to the caller and used in subsequent encryption and decryption steps. The side-effect of the fix is that previously chain-encrypted data will not be decryptable anymore with the TPM 2.

Reference and upstream patch:
https://github.com/stefanberger/libtpms/commit/ee31b0b2358881c37cbb5c08d9c32f6b871ba32e.patch

Reproducible: Always

Comment 1 Fedora Update System 2026-01-02 17:31:32 UTC
FEDORA-2026-21a2a74849 (libtpms-0.10.2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-21a2a74849

Comment 2 Fedora Update System 2026-01-02 17:34:45 UTC
FEDORA-2026-14ecf2c0cd (libtpms-0.10.2-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-14ecf2c0cd

Comment 3 Fedora Update System 2026-01-02 17:39:11 UTC
FEDORA-2026-21a2a74849 (libtpms-0.10.2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-21a2a74849

Comment 4 Fedora Update System 2026-01-03 01:17:12 UTC
FEDORA-2026-21a2a74849 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-21a2a74849`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-21a2a74849

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-01-03 01:41:41 UTC
FEDORA-2026-14ecf2c0cd has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-14ecf2c0cd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-14ecf2c0cd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-01-18 01:41:08 UTC
FEDORA-2026-21a2a74849 (libtpms-0.10.2-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-01-18 01:43:59 UTC
FEDORA-2026-14ecf2c0cd (libtpms-0.10.2-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.