Skip to main content

libkcapi EUVDEUVD-2026-53337

| CVE-2026-71227 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-08-05 redhat GHSA-c5mv-c5vm-62w5
5.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access to RHEL or OpenShift system
  2. Delivery
    Identify application invoking libkcapi AIO interface
  3. Exploit
    Trigger or race AIO completion error on target handle
  4. Execution
    Induce application to reuse errored handle without reset
  5. Persist
    _kcapi_aio_read_all() enters non-terminating wait loop
  6. Impact
    Target thread or process becomes permanently unresponsive

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a local attacker who can influence the execution flow of an application that explicitly uses libkcapi's AIO interface - not applications using the synchronous libkcapi API or direct AF_ALG sockets. Two specific preconditions must be met: first, a prior AIO operation on the target handle must have returned a completion error; second, the attacker must be able to cause or observe this error state and then induce the application to reuse that same handle without reinitializing it. The high attack complexity (AC:H) reflects that both conditions must align, likely requiring timing control, ability to inject I/O errors, or deep knowledge of the target application's state machine. Limiting factors: only applications explicitly calling _kcapi_aio_read_all() with reused handles are vulnerable; applications using the synchronous API are unaffected; the attack is strictly local (no network exposure); and no privilege escalation is possible - impact is limited to hanging the affected thread or process. Environments where untrusted users cannot execute local code or interact with AIO-using crypto processes face no realistic risk.

Impact

The CVSS 3.1 score of 5.1 (AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) is internally consistent with the described attack: local access is required (AV:L), exploitation is highly complex (AC:H) because the attacker must induce a specific AIO completion error and then influence handle reuse, and impact is availability-only with no confidentiality or integrity consequences. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV and no public exploit code is known, making this a low-urgency finding by all available signals. The AC:H rating is meaningful here - the attacker must control or race application behavior around AIO error handling, which is non-trivial without source code knowledge or specific application instrumentation. In multi-tenant RHEL or OpenShift environments where untrusted users can execute local code adjacent to crypto-using services, the risk is moderate; in tightly controlled single-tenant deployments, realistic risk is low. The PR:N rating warrants scrutiny: while no elevated OS privileges are required, practical exploitation likely demands the ability to influence a target process, which may imply application-level access not fully captured in the CVSS vector.

Exploit ScenarioDerived

A local user on a shared RHEL or OpenShift node identifies a long-running service (such as a crypto daemon or key management process) that uses libkcapi with AIO-enabled operations. The attacker triggers a resource contention or I/O error to cause a prior AIO completion error on the target handle, then induces the application - through crafted input, signal injection, or timing - to reuse the same errored handle, causing _kcapi_aio_read_all() to spin indefinitely and the affected service thread to become permanently unresponsive. No public exploit code is known; this scenario requires application-specific knowledge of AIO handle management.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Persistent denial of service in libkcapi's AIO interface allows a local attacker to permanently hang an affected application thread by exploiting improper error-state handling in _kcapi_aio_read_all(). Affected deployments span Red Hat Enterprise Linux 8, 9, and 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 - all environments where applications leverage libkcapi's asynchronous cryptographic operations. No public exploit code or active exploitation has been identified at time of analysis; the high attack complexity (AC:H) and local-only attack vector substantially limit real-world risk beyond targeted or insider-threat scenarios.

RemediationAI

Apply Red Hat-issued errata for the libkcapi package once available, as documented at https://access.redhat.com/security/cve/CVE-2026-71227. No exact fixed package version was confirmed in the provided data - consult the Red Hat advisory and associated Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2462867) for specific errata identifiers. As a compensating control pending a patch, restrict local user access to processes that use libkcapi's AIO interface using SELinux mandatory access controls or cgroup-based process isolation, which limits which users can interact with or signal crypto-enabled applications - this does not eliminate the vulnerability but raises the attacker bar. Application developers using libkcapi should audit all call sites of _kcapi_aio_read_all() to ensure AIO handles are explicitly closed and re-initialized after any completion error rather than reused. Migrating affected applications to libkcapi's synchronous API as a temporary measure eliminates the AIO-specific code path entirely, at the cost of blocking I/O behavior.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libkcapi is a userspace C library that wraps the Linux kernel's AF_ALG (Algorithm) socket interface, enabling applications to offload symmetric encryption, hashing, and other cryptographic operations to the kernel without requiring direct system call management. The AIO (Asynchronous I/O) path in libkcapi uses the kernel's io_submit/io_getevents mechanism to process crypto requests non-blocking. CWE-835 (Loop with Unreachable Exit Condition) identifies the root cause: _kcapi_aio_read_all() does not validate or reset the handle's internal state after a prior completion error, causing it to enter an infinite polling loop waiting for a completion event that the errored handle will never deliver. This is a pure logic flaw in error-state lifecycle management - not a memory corruption issue - affecting the CPE-confirmed products cpe:2.3:a:red_hat:red_hat_enterprise_linux_8 through rhel_10, red_hat_hardened_images, and openshift_container_platform_4.

Know when Red Hat Enterprise Linux 10 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY MEDIUM
NVD 5.1 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.1 MEDIUM

Local-only attack requiring specific AIO error-state conditions (AC:H); no OS privileges needed; purely availability impact with no scope change.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.1 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Aug 11, 2026 - 18:22 NVD
5.5 (MEDIUM) 5.1 (MEDIUM)
CVSS changed
Aug 11, 2026 - 17:52 NVD
5.1 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Aug 05, 2026 - 12:42 nvd
MEDIUM 5.1

DescriptionNVD

A flaw was found in libkcapi. A local attacker can influence an application that uses the Asynchronous Input/Output (AIO) interface. By reusing an AIO-enabled handle after a prior completion error, the _kcapi_aio_read_all() function can enter a non-terminating wait loop. This can lead to a persistent denial of service, making the affected application or thread unresponsive.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche kernel crypto userspace wrapper, not universally deployed
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_hardened_images:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.4 Not-Affected
SUSE Linux Enterprise Micro 5.5 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy