libtpms (0.10.3) RELEASED; urgency=high

  * tpm2: Validate hierarchy policy hash algorithms when loading state
  * tpm2: Validate authHashAlg when unmarshalling a SESSION
  * tpm2: Validate auditHashAlg when unmarshalling PERSISTENT_DATA
  * tpm2: Validate s_evictNvEnd when unmarshalling the volatile state
  * tpm2: Fix integer encoding and input validation in TpmASN1
  * tpm2: Fix bit shift and length checks in ASN1GetBitStringValue
  * tpm2: Treat HASH_STATE of type HASH/HMAC with invalid hashAlg as empty
  * tpm2: Normalize unsupported hashAlg in HASH_STATE_Unmarshal
  * tpm2: Validate s_freeSessionSlots when unmarshalling the volatile state
  * tpm2: Support marshalling and unmarshalling of SMAC state (GHSA-m5jc-r52r-v223)
  * tpm2: Clear partially restored objects on unmarshalling failure
  * tpm2: Unmarshal nullSeedCompatLevel into the given state (BUGFIX)
  * tpm2: Check for NULL pointer of *value due to out-of-memory before using it
  * tpm2: Fix false deduplication in RuntimeProfileDedupStrItems
  * tpm2: Add an assert to detect integer underruns
  * tpm2: Reject sequence objects when referenced in certain operations
  * GHSA-3j28-cv9j-8gmr:
    * tpm2: validate hash context num and md_len on unmarshal
    * tpm2: Check for *size >= 0 before casting it to UINT32
    * tpm2: Enforce that no un/marshalled string is larger than MAX_PROFILE_SIZE
    * tpm2: Guard unmarshalling of hash state by rc == TPM_SUCCESS check
    * tpm2: Change offset from UINT16 to size_t to avoid integer overflow
    * tpm2: Set rc value in case of unexpected value of elements
    * tpm2: Add checks for *size < 0 before casting it to UINT32
    * tpm2: Enforce NUL-terminated string to have been read from stream
  * tpm2: Check size of remaining buffer to avoid out-of-bounds access (CVE-2026-85769)
  * tpm12: Avoid NULL pointer dereference in TPM_DelegateUpdateVerification
  * tpm12: Check key != NULL instead of handle != 0 in TPM_KeyHandleEntry_Delete
  * tpm12: Clean up allocated structure on error in TPM_PCRInfo*_CreateFromBuffer
  * tpm12: only roll back entries LoadContext actually added
  * tpm12: reject empty decrypted data
  * tpm12: Reject zero-length input in AES TPM_SymmetricKeyData_Decrypt
  * tpm12: Use uint32_t for outParamStart/End in TPM_Process_PcrReset
  * tpm12: Limit the lockout wait time shift in TPM_Authdata_GetState
  * tpm12: Check for end of input in TPM_PKCS1_PaddingType1Check (FreeBL)
  * tpm12: Reset nvIndexCount if loading of TPM_NV_INDEX_ENTRIES fails to allocate
  * tpm12: mask ADIP scheme byte of entityType in TPM_Process_DSAP
  * tpm12: check buffer size before tag read in Seal and ActivateIdentity
  * tpm12: Cast uint32_t to uint64_t to avoid integer overflow through addition (GHSA-mj5h-vxqm-vjf9)
  * tpm12: Check stream_size first before accessing element of stream
  * tpm12: Mark '1' as unsigned to allow for 31 bit shift
  * tpm12: Address a FIXME to limit MSAlist number and wrong memory allocation (GHSA-q844-94j6-gj2p)
  * tpm12: reject non-block-aligned CBC input in TPM_SymmetricKeyData_Decrypt (GHSA-627q-vjcr-3fjj)
  * tpm2: Read attributes from proper NVRAM offset in NvFlushHierarchy
  * tpm2: Add check rc == TPM_RC_SUCCESS before calling function
  * tpm2: Limit the size of the profile to MAX_PROFILE_SIZE (32kb)
  * tpm2: Check unmarshalled array_size against a reasonable maximum (1024b)
  * tpm2: Replace a pAssert with an error log message and return error code
  * tpm2: Use ~0 for max. StateFormatLevel when rolling back failure
  * tpm2: Cast size_t variable to ssize_t to check for negative values
  * tpm2: Improve OaepDecode constant-timeness (CVE-2026-6727)
  * Sync: Clear OBJECT on ObjectFlush (CVE-2026-6726)
  * tpm2: Adjust min. buffer size and add comment about min and max sizes
  * tpm2: Limit the response buffer size indicator to the negotiated size
  * tpm2: Add missing check for disallowed SHA1 HMAC creation
  * tpm2: Only write the necessary number of bytes of command bitmaps
  * tpm2: Base enabledCommands on command index rather than command code
  * tpm2: Use marshalled size of OBJECT to see whether it fits into NVRAM
  * tpm2: Limit array_size to current size of array (ppList/auditCommands) (BUGFIX)

 -- Stefan Berger <stefanb@linux.ibm.com>  Mon, 30 Nov 2026 09:00:00 -0500

libtpms (0.10.2) RELEASED; urgency=high

  * tpm2: Fix memory leak by freeing KDF context
  * tpm2: Fix retrieval of updated IV when using OpenSSL >= 3.0 (CVE-2026-21444)

 -- Stefan Berger <stefanb@linux.ibm.com>  Tue, 2 Jan 2026 09:00:00 -0500

libtpms (0.10.1) RELEASED; urgency=high

  * tpm2: Fix potential out-of-bound access & abort due to HMAC signing issue (CVE-2025-49133)
  * tpm2: fix build for LibreSSL 4.1.0
  * tpm2: In CheckLockedOut replace TPM_RC_RETRY with TPM_RC_SUCCESS
  * tpm2: Fix bugs in RuntimeProfileDedupStrItems
  * tpm2 + test: Make it compilable on Debian GNU Hurd
  * tpm2: Add asserts to silence compiler warning due to -Wstringop-overflow=
  * tpm2: Add padding to OBJECT for 32bit targets

 -- Stefan Berger <stefanb@linux.ibm.com>  Tue, 10 Jun 2025 00:00:00 -0500

libtpms (0.10.0) RELEASED; urgency=medium

  * Stable release

 -- Stefan Berger <stefanb@linux.ibm.com>  Thu, 14 Nov 2024 09:00:00 -0500

libtpms (0.10.0~dev1) UNRELEASED; urgency=medium

  * Developer release 1

 -- Stefan Berger <stefanb@linux.ibm.com>  Sun, 17 Oct 2021 09:00:00 -0500

libtpms (0.9.0) RELEASED; urgency=medium

  * Stable release

 -- Stefan Berger <stefanb@linux.ibm.com>  Wed, 29 Sep 2021 09:00:00 -0500

libtpms (0.9.0~dev1) UNRELEASED; urgency=medium

  * Developer release 1

 -- Stefan Berger <stefanb@linux.ibm.com>  Wed, 24 Feb 2021 13:48:00 -0500

libtpms (0.8.0) RELEASED; urgency=medium

  * Stable release

 -- Stefan Berger <stefanb@linux.ibm.com>  Wed, 24 Feb 2021 10:55:00 -0500

libtpms (0.8.0~dev1) UNRELEASED; urgency=medium

  * Developer release 1

 -- Stefan Berger <stefanb@linux.ibm.com>  Fri, 19 Jul 2019 13:38:08 -0500

libtpms (0.7.0-1) RELEASED; urgency=medium

  * Stable release

 -- Stefan Berger <stefanb@linux.ibm.com>  Thu, 18 Jul 2019 16:26:00 -0500

libtpms (0.7.0~dev1) UNRELEASED; urgency=medium

  * Stable release

 -- Stefan Berger <stefanb@linux.ibm.com>  Mon, 14 Jan 2019 10:25:08 -0500

libtpms (0.6.0-1) RELEASED; urgency=medium

  * Stable release

 -- Stefan Berger <stefanb@linux.ibm.com>  Wed, 09 Jan 2019 12:28:12 -0500

libtpms (0.6.0-1~dev1) RELEASED; urgency=medium

  * Developer release 1

 -- Stefan Berger <stefanb@linux.vnet.ibm.com>  Mon, 13 Nov 2017 13:03:00 -0500

libtpms (0.6.0) UNRELEASED; urgency=medium

  * Initial Release.

 -- Stefan Berger <stefanb@linux.vnet.ibm.com>  Tue, 12 Jan 2016 11:28:33 -0500
