CVE-2026-13757
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.26.4-1.el10_2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.26.4-1.el9_8 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.26.4-1.el9_8 < * | unaffected |
| Red Hat | Red Hat Discovery 2 | 1786638573 < * | unaffected |
| Red Hat | Red Hat Discovery 2 | 1786634825 < * | unaffected |
| Red Hat | Red Hat Hardened Images | 0.26.2-1.2.hum1 < * | unaffected |
| Red Hat | Red Hat Hardened Images | 0.26.4-1.hum1 < * | unaffected |
| Red Hat | Red Hat Insights proxy 1.5 | 1786433656 < * | unaffected |
| Red Hat | Red Hat Update Infrastructure 5 | 1786435241 < * | unaffected |
| Red Hat | Red Hat Update Infrastructure 5 | 1786533457 < * | unaffected |
| Red Hat | Red Hat Update Infrastructure 5 | 1786533449 < * | unaffected |
| Red Hat | Red Hat Update Infrastructure 5 | 1786435483 < * | unaffected |
| Red Hat | Red Hat Update Infrastructure 5 | 1786533529 < * | unaffected |
Weaknesses
- CWE-674: Uncontrolled Recursion
Workarounds
This CVE requires same-user access to the p11-kit RPC Unix domain socket (/run/user/<uid>/p11-kit/pkcs11-*). Any process running as the socket-owning user can trigger the crash without further authentication.
If p11-kit is managed via systemd –user, ensure Restart=on-failure is set in the unit file so that a crash is automatically recovered without manual intervention.
Red Hat recommends updating p11-kit to version 0.26.3 or later, which introduces a recursion depth limit in the RPC attribute parsing and fully addresses this flaw.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://access.redhat.com/errata/RHSA-2026:37469
- https://access.redhat.com/errata/RHSA-2026:38342
- https://access.redhat.com/errata/RHSA-2026:49667
- https://access.redhat.com/errata/RHSA-2026:49668
- https://access.redhat.com/errata/RHSA-2026:53371
- https://access.redhat.com/errata/RHSA-2026:54387
- https://access.redhat.com/errata/RHSA-2026:54760
- https://access.redhat.com/security/cve/CVE-2026-13757
- https://bugzilla.redhat.com/show_bug.cgi?id=2494556
- https://github.com/advisories/GHSA-p2wm-69qx-x25w
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.