CVE-2026-13757
P11-kit: stack exhaustion via unbounded recursion in rpc attribute parsing
Mitigation
- Vendor workaround: 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.
Who should check
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
- Anyone running Cert Manager support for Red Hat OpenShift release 1.17 all versions
- Anyone running Cert Manager support for Red Hat OpenShift release 1.18 all versions
- Anyone running Cert Manager support for Red Hat OpenShift release 1.20 all versions
- Anyone running Red Hat Cost Management 4 all versions
- Anyone running Red Hat Discovery 2 all versions
- Anyone running Red Hat Hardened Images all versions
Vulnerability facts
- Affected
- Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Red Hat Cost Management 4 all versions; Red Hat Discovery 2 all versions; Red Hat Discovery 2 all versions; Red Hat Hardened Images all versions; Red Hat Hardened Images all versions; Red Hat Insights proxy 1.5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat OpenShift AI (RHOAI); Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.2 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- CWE
- CWE-674
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-13757. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-13757.md Affected: Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat Op… Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Cert Manager support for Red Hat OpenShift release 1.17, Cert Manager support for Red Hat OpenShift release 1.18, Cert Manager support for Red Hat OpenShift release 1.20, Red Hat Cost Management 4: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- 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/errata/RHSA-2026:81201
- https://access.redhat.com/errata/RHSA-2026:82304
- https://access.redhat.com/errata/RHSA-2026:82322
- https://access.redhat.com/errata/RHSA-2026:82336
- https://access.redhat.com/errata/RHSA-2026:82347
- https://access.redhat.com/errata/RHSA-2026:82354
- https://access.redhat.com/errata/RHSA-2026:82372
- https://access.redhat.com/errata/RHSA-2026:82857
- https://access.redhat.com/errata/RHSA-2026:82888
- https://access.redhat.com/security/cve/CVE-2026-13757
- https://bugzilla.redhat.com/show_bug.cgi?id=2494556
FAQ
Is CVE-2026-13757 being exploited?
There is no confirmed exploitation: CVE-2026-13757 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-13757?
Medium: CVSS 6.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-13757?
Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.17 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Cert Manager support for Red Hat OpenShift release 1.20 all versions; Red Hat Cost Management 4 all versions; Red Hat Discovery 2 all versions; Red Hat Discovery 2 all versions; Red Hat Hardened Images all versions; Red Hat Hardened Images all versions; Red Hat Insights proxy 1.5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat OpenShift AI (RHOAI); Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions.
Is there a fix for CVE-2026-13757?
No fixed version is listed in the sources yet. Vendor workaround: 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.
How do I check if I'm affected by CVE-2026-13757?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.