CVE-2026-13757
MediumCVSS 6.2Exploitation Probability (EPSS)
Low risk4th percentile - higher than 4% of all known CVEs
Summary
A flaw was found in p11-kit where the RPC message attribute parsing functions lack recursion depth limits when processing nested template attributes. An unauthenticated attacker with local access to the Unix domain socket can send a crafted request causing stack exhaustion and crashing the p11-kit server and its dependent services.
Risk Assessment
The risk is a denial-of-service (DoS) attack against the p11-kit server, potentially disrupting all services relying on it, such as password managers and cryptographic applications.
Recommendation
Immediately update p11-kit to a version that introduces recursion depth limits. As a workaround, restrict access to the Unix domain socket to trusted processes only.
Other vulnerabilities in p11-kit
See all- CVE-2026-18938Medium
An integer overflow vulnerability was found in p11-kit. A local attacker, or one with access to a reachable RPC channel, can send specially crafted messages to cause miscalculated memory allocation for nested attributes. This leads to a heap out-of-bounds write, crashing the p11-kit RPC parsing process and resulting in a Denial of Service (DoS). The vulnerability is only exploitable on 32-bit systems.
- CVE-2026-2100Medium
A flaw was found in p11-kit where a remote attacker could call the C_DeriveKey function on a remote token with specific IBM kyber or IBM btc derive mechanism parameters set to NULL. This could lead to the RPC-client attempting to return an uninitialized value, potentially resulting in a NULL dereference or undefined behavior.
Original NVD description (English source)
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.

