CVE-2026-13757: P11-kit: stack exhaustion via unbounded recursion in rpc attribute parsing
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-13757 can let a local, unauthenticated user crash the p11-kit server by sending malformed nested attribute data to its Unix socket. The business impact is availability: services depending on p11-kit may fail or be disrupted. Current sources rate it medium and do not show known active exploitation.
Executive priority
Treat as a moderate availability risk. Patch during the next regular maintenance window, faster for shared systems, developer platforms, or container hosts where untrusted local workloads may run.
Technical view
p11-kit RPC attribute parsing uses mutually recursive functions without a recursion depth limit. Deeply nested CKA_WRAP_TEMPLATE, CKA_UNWRAP_TEMPLATE, or CKA_DERIVE_TEMPLATE attributes can exhaust the stack and crash the p11-kit server process. The CVSS 3.1 vector is local, low complexity, no privileges, no user interaction, availability high.
Likely exposure
Exposure is mainly Linux systems running affected Red Hat p11-kit packages, including listed RHEL 6-10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 via RHCOS. The attacker needs local access to the p11-kit RPC Unix domain socket.
Exploitation context
No active exploitation is indicated by KEV or the provided sources. Exploitation requires local access, but no account privileges according to the CVSS vector. The likely result is denial of service, not data theft or code execution based on available information.
Researcher notes
The source bundle identifies CWE-674 and a recursion-depth flaw in p11-kit RPC attribute parsing. Public details support denial of service through stack exhaustion. Sources do not provide a named fixed version in the bundle, so remediation should follow Red Hat advisory content.
Mitigation direction
Review and apply Red Hat guidance in RHSA-2026:37469 where applicable.
Prioritize systems where local users or workloads can access p11-kit RPC services.
Restrict unnecessary local access to affected hosts and containers.
Monitor vendor advisories for package updates and operational workarounds.
Validation and detection
Inventory systems for affected Red Hat products and p11-kit packages.
Confirm installed package versions against Red Hat CVE and errata guidance.
Identify services depending on p11-kit and assess outage impact.
Check logs for unexpected p11-kit server crashes or dependent service failures.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-674: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-674 · source CWE mapping
Uncontrolled Recursion
Uncontrolled Recursion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.