Description
A flaw was found in p11-kit. The RPC message attribute parsing functions p11_rpc_message_get_attribute() and p11_rpc_message_get_attribute_array_value() form a mutually-recursive call chain with no recursion depth limit when processing nested CKA_WRAP_TEMPLATE, CKA_UNWRAP_TEMPLATE, and CKA_DERIVE_TEMPLATE attributes. An unauthenticated attacker with local access to the p11-kit RPC Unix domain socket can send a specially crafted request with deeply nested template attributes, causing stack exhaustion and crashing the p11-kit server process and its dependent services.
Problem types
Product status
0.26.2-1.2.hum1 (rpm) before *
Timeline
| 2026-06-23: | Reported to Red Hat. |
| 2026-06-23: | Made public. |
References
access.redhat.com/errata/RHSA-2026:37469 (RHSA-2026:37469)
access.redhat.com/security/cve/CVE-2026-13757
bugzilla.redhat.com/show_bug.cgi?id=2494556 (RHBZ#2494556)