CVE-2026-18938

P11-kit: integer overflow in rpc attribute-array length calculation can under-allocate nested attribute storage on 32 bit systems

Published Aug 7, 2026 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in p11-kit. A local attacker, or one with equivalent access to a reachable RPC channel, could exploit an integer overflow vulnerability. By sending specially crafted messages, the attacker can cause the system to miscalculate memory allocation for nested attributes. This leads to a memory corruption issue, specifically a heap out-of-bounds write, which can crash the p11-kit RPC parsing process, resulting in a Denial of Service (DoS). This vulnerability is only exploitable on 32 bit systems.

Analysis

AI-generated

Technical impact

A local attacker, or someone with equivalent access to an RPC channel, can trigger an integer overflow in p11‑kit. By carefully crafting attribute arrays, the attacker forces the library to miscalculate memory allocations on 32‑bit systems, leading to a heap out‑of‑bounds write that can crash the RPC parsing process and cause a denial of service.

Affected Systems

Red Hat Red Hat Enterprise Linux 6 through 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 are affected because they ship p11‑kit on 32‑bit architectures. Specific version numbers are not listed in the advisory, so all current releases that include p11‑kit on these platforms are considered vulnerable until a patch is released.

Risk and Exploitability

The CVSS score of 6.2 indicates moderate severity for the local impact. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no widely known exploits as of this analysis. The flaw requires 32‑bit execution and local or RPC‑channel access; the attacker would need to send specially crafted messages and must have network reachability to the RPC interface. If exploited, the system may experience repeated crashes of the p11‑kit service, potentially disrupting applications that rely on PKCS#11 functionality.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Update to the latest version of p11‑kit that includes the integer‑overflow fix (consult Red Hat advisories for your distribution and platform).
  • If an update cannot be applied immediately, restrict or disable the p11‑kit RPC interface so that no remote or local user can send messages to it.
  • Monitor system logs for p11‑kit crashes or memory corruption events and apply containment measures if the service stops unexpectedly.

Generated by OpenCVE AI on August 7, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8687-1 p11-kit vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Redhat hardened Images
Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in p11-kit. A local attacker, or one with equivalent access to a reachable RPC channel, could exploit an integer overflow vulnerability. By sending specially crafted messages, the attacker can cause the system to miscalculate memory allocation for nested attributes. This leads to a memory corruption issue, specifically a heap out-of-bounds write, which can crash the p11-kit RPC parsing process, resulting in a Denial of Service (DoS). This vulnerability is only exploitable on 32 bit systems.
Title P11-kit: integer overflow in rpc attribute-array length calculation can under-allocate nested attribute storage on 32 bit systems
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-122
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 7, 2026, 3:14 PM
Reserved
Aug 5, 2026, 12:44 PM
Status
Awaiting Analysis
Published
Aug 7, 2026, 9:16 AM
Modified
Aug 14, 2026, 7:07 PM
Severity
Moderate
Public date
Aug 7, 2026, 8:13 AM