Publishing details
Changelog
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 <email address hidden> Wed, 18 Nov 2026 17:07:52 +0800
Builds
Package files