CVE-2026-13757

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

6.2 medium EPSS 0.20%

Published 29 Jun 2026 Updated 24 Nov 2026 CNA: redhat

Check your servers for CVE-2026-13757

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-13757 affects p11-kit, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

6.2 medium CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.74% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 1 Jul 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Red Hat Enterprise Linux 10
package p11-kit
unaffected 0:0.26.4-1.el10_2 and later
Other versions: affected
Red Hat Enterprise Linux 9
package p11-kit
unaffected 0:0.26.4-1.el9_8 and later
Other versions: affected
Red Hat Enterprise Linux 9
package p11-kit
unaffected 0:0.26.4-1.el9_8 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.17
package cert-manager/jetstack-cert-manager-acmesolver-rhel9
unaffected 1791371080 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.17
package cert-manager/jetstack-cert-manager-rhel9
unaffected 1791371069 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.17
package cert-manager/cert-manager-operator-rhel9
unaffected 1791788287 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.17
package cert-manager/cert-manager-istio-csr-rhel9
unaffected 1791378395 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.17
package cert-manager/cert-manager-operator-bundle
unaffected 1791970484 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.18
package cert-manager/jetstack-cert-manager-acmesolver-rhel9
unaffected 1791459707 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.18
package cert-manager/jetstack-cert-manager-rhel9
unaffected 1791459711 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.18
package cert-manager/cert-manager-istio-csr-rhel9
unaffected 1791459759 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.18
package cert-manager/cert-manager-operator-rhel9
unaffected 1789029076 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.18
package cert-manager/cert-manager-operator-bundle
unaffected 1791966259 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/jetstack-cert-manager-rhel9
unaffected 1790223279 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/cert-manager-istio-csr-rhel9
unaffected 1790223719 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/cert-manager-operator-rhel9
unaffected 1790272426 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/jetstack-cert-manager-acmesolver-rhel9
unaffected 1790589998 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/jetstack-cert-manager-rhel9
unaffected 1790589912 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/cert-manager-istio-csr-rhel9
unaffected 1790589914 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/cert-manager-operator-rhel9
unaffected 1790589855 and later
Other versions: affected
Cert Manager support for Red Hat OpenShift release 1.20
package cert-manager/cert-manager-trust-manager-rhel9
unaffected 1790598593 and later
Other versions: affected
Cost Management 4
package costmanagement/costmanagement-metrics-rhel9-operator
unaffected 1790844333 and later
Other versions: affected
Red Hat Discovery 2
package discovery/discovery-server-rhel9
unaffected 1786638573 and later
Other versions: affected
Red Hat Discovery 2
package discovery/discovery-ui-rhel9
unaffected 1786634825 and later
Other versions: affected
Red Hat Hardened Images
package p11-kit-main
unaffected 0.26.2-1.2.hum1 and later
Other versions: affected
Red Hat Hardened Images
package p11-kit-main
unaffected 0.26.4-1.hum1 and later
Other versions: affected
Red Hat Insights proxy 1.5
package insights-proxy/insights-proxy-container-rhel9
unaffected 1786433656 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/cds-kubernetes-rhel9
unaffected 1786435241 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/cds-rhel9
unaffected 1786533457 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/haproxy-rhel9
unaffected 1786533449 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/installer-rhel9
unaffected 1786435483 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/rhua-rhel9
unaffected 1786533529 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/cds-kubernetes-tp-rhel9
unaffected 1787241211 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/installer-tp-rhel9
unaffected 1787135742 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/rhua-tp-rhel9
unaffected 1787241260 and later
Other versions: affected
Red Hat Enterprise Linux 6
package p11-kit
affected the record does not list versions
Red Hat Enterprise Linux 7
package p11-kit
affected the record does not list versions
Red Hat Enterprise Linux 8
package p11-kit
affected the record does not list versions
Red Hat OpenShift AI (RHOAI)
package rhoai/odh-llama-stack-k8s-operator-rhel9
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift/ose-rhel-coreos-8
affected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift/ose-rhel-coreos-9
affected the record does not list versions
Red Hat OpenShift Container Platform 5
package openshift/ose-rhel-coreos-9
affected the record does not list versions

Is my server affected?

Find the installed version of p11-kit and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i p11-kit
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-13757 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-13757

RHEL, Rocky, Alma, Fedora

rpm -q p11-kit
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-13757

Alpine

apk list --installed | grep -i p11-kit

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-13757
trivy image --scanners vuln IMAGE | grep CVE-2026-13757

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

14 more

Other references

Source: the record CVE-2026-13757 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.