Skip to content
6.2 Medium

CVE-2026-13757 P11-kit: stack exhaustion via unbounded recursion in rpc attribute parsing

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.

CVSS 3.1 detail

Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitable with local access to the machine, without an account and without any user action; an attacker can seriously compromise confidentiality, integrity or availability.

Attack vector
Local
Attack complexity
Low
Privileges required
None
Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected products and versions

Product Affected versions Fixed in
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 6 Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux 9 Versions not published
Red Hat Hardened Images 0.26 earliest → < 0.26.4-1.hum1 0.26.4-1.hum1
Red Hat OpenShift Container Platform 4 Versions not published
Red Hat Insights proxy 1.5 1786433656 earliest → < 1786433656 1786433656
Red Hat Update Infrastructure 5 1787241260 earliest → < 1787241260 1787241260
Show the 6 other branches
Product Affected versions Fixed in
Red Hat Discovery 2 1786634825 earliest → < 1786634825 1786634825
Cert Manager support for Red Hat OpenShift release 1.20 1790598593 earliest → < 1790598593 1790598593
Cost Management 4 1790844333 earliest → < 1790844333 1790844333
Cert Manager support for Red Hat OpenShift release 1.17 1791970484 earliest → < 1791970484 1791970484
Cert Manager support for Red Hat OpenShift release 1.18 1791966259 earliest → < 1791966259 1791966259
Red Hat OpenShift Container Platform 5 Versions not published

References

Timeline

  1. Published
  2. Last modified
The 1454 CVEs of Red Hat Enterprise Linux 10 →
Track this CVE