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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-29 · Modified: 2026-11-24
- Aliases: RHSA-2026:37469, RHSA-2026:38342, RHSA-2026:49667, RHSA-2026:49668, UBUNTU-CVE-2026-13757, DEBIAN-CVE-2026-13757
- Record: https://cvemate.com/vulnerability/CVE-2026-13757 · JSON: https://cvemate.com/vulnerability/CVE-2026-13757/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.209%, percentile 11.734%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian p11-kit (Debian): All versions (No fix recorded) \| \< 0.26.4-1
- ubuntu p11-kit (Ubuntu): \< 0.23.9-2ubuntu0.1+esm1 \| \< 0.23.20-1ubuntu0.1+esm1 \| \< 0.24.0-6ubuntu0.1 \| \< 0.25.3-4ubuntu2.2 \| All versions (No fix recorded)
- p11-kit\_project p11-kit: na
- redhat enterprise\_linux: 6.0 \| 7.0 \| 8.0 \| 9.0 \| 10.0
- redhat hardened\_images: na
- redhat openshift\_container\_platform: ≥ 4.0, ≤ 4.22.1
- redhat mingw32-p11-kit (Red Hat): \< 0:0.26.2-1.2.hum1 \| \< 0:0.26.4-1.hum1
- redhat mingw64-p11-kit (Red Hat): \< 0:0.26.2-1.2.hum1 \| \< 0:0.26.4-1.hum1
- redhat p11-kit (Red Hat): \< 0:0.26.2-1.2.hum1 \| \< 0:0.26.4-1.hum1 \| \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-client (Red Hat): \< 0:0.26.2-1.2.hum1 \| \< 0:0.26.4-1.hum1 \| \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-client-debuginfo (Red Hat): \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-debuginfo (Red Hat): \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-debugsource (Red Hat): \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-devel (Red Hat): \< 0:0.26.2-1.2.hum1 \| \< 0:0.26.4-1.hum1 \| \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-server (Red Hat): \< 0:0.26.2-1.2.hum1 \| \< 0:0.26.4-1.hum1 \| \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-server-debuginfo (Red Hat): \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-trust (Red Hat): \< 0:0.26.2-1.2.hum1 \| \< 0:0.26.4-1.hum1 \| \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2
- redhat p11-kit-trust-debuginfo (Red Hat): \< 0:0.26.4-1.el9\_8 \| \< 0:0.26.4-1.el10\_2

## References (first 20 of 39)

- <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/errata/RHSA-2026:58981>
- <https://access.redhat.com/errata/RHSA-2026:72394>
- <https://access.redhat.com/errata/RHSA-2026:72395>
- <https://access.redhat.com/errata/RHSA-2026:72399>
- <https://access.redhat.com/errata/RHSA-2026:72470>
- <https://access.redhat.com/errata/RHSA-2026:72475>
- <https://access.redhat.com/errata/RHSA-2026:72476>
- <https://access.redhat.com/errata/RHSA-2026:72502>
- <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>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>

---

Data as of 2026-12-05T03:14:39.135Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
