CVE-2026-13757
JSON

6.2medium

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

Severity
6.2medium CVSS:3.1 by redhat
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
p11-kitNot specified
Not affected: from 0:0.26.4-1.el10_2 before *, from 0:0.26.4-1.el9_8 before *
CVE List
cert-manager/jetstack-cert-manager-acmesolver-rhel9Not specified
Not affected: from 1791371080 before *, from 1791459707 before *, from 1790589998 before *
CVE List
cert-manager/jetstack-cert-manager-rhel9Not specified
Not affected: from 1791371069 before *, from 1791459711 before *, from 1790223279 before *, from 1790589912 before *
CVE List
cert-manager/cert-manager-operator-rhel9Not specified
Not affected: from 1791788287 before *, from 1789029076 before *, from 1790272426 before *, from 1790589855 before *
CVE List
cert-manager/cert-manager-istio-csr-rhel9Not specified
Not affected: from 1791378395 before *, from 1791459759 before *, from 1790223719 before *, from 1790589914 before *
CVE List
cert-manager/cert-manager-operator-bundleNot specified
Not affected: from 1791970484 before *, from 1791966259 before *
CVE List
cert-manager/cert-manager-trust-manager-rhel9Not specified
Not affected: from 1790598593 before *
CVE List
costmanagement/costmanagement-metrics-rhel9-operatorNot specified
Not affected: from 1790844333 before *
CVE List
discovery/discovery-server-rhel9Not specified
Not affected: from 1786638573 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1786634825 before *
CVE List
p11-kit-mainNot specified
Not affected: from 0.26.2-1.2.hum1 before *, from 0.26.4-1.hum1 before *
CVE List
insights-proxy/insights-proxy-container-rhel9Not specified
Not affected: from 1786433656 before *
CVE List

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://access.redhat.com/errata/RHSA-2026:37469vendor-advisory
https://access.redhat.com/errata/RHSA-2026:38342vendor-advisory
https://access.redhat.com/errata/RHSA-2026:49667vendor-advisory
https://access.redhat.com/errata/RHSA-2026:49668vendor-advisory
https://access.redhat.com/errata/RHSA-2026:53371vendor-advisory
https://access.redhat.com/errata/RHSA-2026:54387vendor-advisory
https://access.redhat.com/errata/RHSA-2026:54760vendor-advisory
https://access.redhat.com/errata/RHSA-2026:58981vendor-advisory
https://access.redhat.com/errata/RHSA-2026:72394vendor-advisory
https://access.redhat.com/errata/RHSA-2026:72395vendor-advisory
https://access.redhat.com/errata/RHSA-2026:72399vendor-advisory
https://access.redhat.com/errata/RHSA-2026:72470vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-13757 changed 2026-11-24CVE Terms of Use
NVDCVE-2026-13757 changed 2026-11-24Public domain