libteec (1.0.0.1-0k3) huanghe; urgency=high

  * fix integer overflow in libckteec serialize(): an
    application-supplied 64-bit mechanism parameter length (e.g. GCM
    ulIvLen, ECDH ulPublicDataLen) could wrap the *blen + len addition,
    making realloc() allocate an undersized buffer that memcpy() then
    overflowed, causing heap corruption (CWE-190/CWE-122);
    backported from upstream optee_client, which also rejects NULL
    data with non-zero len and returns early on len == 0 to avoid
    realloc(ptr, 0) leaving a dangling buffer pointer

 -- wujiening <wujiening@kylinos.cn>  Wed, 18 Nov 2026 17:07:52 +0800

libteec (1.0.0.1-0k2) huanghe; urgency=high

  * fix CVE-2026-83800: fix heap buffer overflow in libckteec when
    deserializing CKA_ALLOWED_MECHANISMS attributes on 64-bit
    platforms; backported from upstream optee_client 4.11.0
    (GHSA-h8c5-c6gf-mgqj)

 -- wujiening <wujiening@kylinos.cn>  Fri, 30 Oct 2026 16:20:05 +0800

libteec (1.0.0.1-ok1) nile; urgency=medium

  * rebuild source for openKylin

 -- wjn <wjn@wjn-pc>  Tue, 16 Jun 2026 15:51:27 +0800