Skip to main content
EPSS 0.2%top 94%

CVE-2026-71227: Loop with Unreachable Exit Condition ('Infinite Loop') in Stephan Muelle libkcapi

0
Medium
Published: 08/05/2026 (08/05/2026, 12:42:10 UTC)
Source: GCVE Database
Vendor/Project: Stephan Muelle
Product: libkcapi

Description

CVE-2026-71227 is a vulnerability in libkcapi where the _kcapi_aio_read_all() function can enter an infinite loop if an application reuses an AIO-enabled handle after a prior completion error. This flaw can cause a persistent denial of service by making the affected application or thread unresponsive. The issue affects version 0.12.0 of libkcapi. Mitigation involves avoiding reuse of AIO-enabled handles after errors or disabling AIO if not needed. A fixed version is available in libkcapi 1.5.1-0.1.hum1 as provided by Red Hat.

CVSS v3.1

Score 5.1medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Affected versions
=0.12.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/13/2026, 15:06:06 UTC

Technical Analysis

A local attacker can cause a denial of service in libkcapi by triggering an infinite loop in the _kcapi_aio_read_all() function. This occurs when an application using the Asynchronous Input/Output (AIO) interface reuses an AIO-enabled handle after a prior completion error, leading to a non-terminating wait loop. The vulnerability is identified as CWE-835 (Loop with Unreachable Exit Condition). It affects libkcapi version 0.12.0. Red Hat has released an update (libkcapi 1.5.1-0.1.hum1) that addresses this issue. The vulnerability has a CVSS v3.1 score of 5.1 (medium severity) with an attack vector of local, high attack complexity, no privileges required, and no user interaction needed. The impact is denial of service due to resource consumption causing unresponsiveness.

Potential Impact

The vulnerability causes a persistent denial of service by making the affected application or thread unresponsive due to an infinite loop in the AIO read function. There is no impact on confidentiality or integrity. The denial of service results from resource exhaustion (CPU cycles) caused by the infinite loop.

Mitigation Recommendations

Applications should avoid initializing libkcapi handles with KCAPI_INIT_AIO if AIO functionality is not strictly required. If AIO must be used, applications should destroy and reinitialize libkcapi handles after any AIO completion error instead of reusing them. Additionally, updating to libkcapi version 1.5.1-0.1.hum1 or later, as provided by Red Hat Hardened Images RPMs, will address this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c5mv-c5vm-62w5
Osv Schema Version
1.4.0
Aliases
["CVE-2026-71227"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a738527bf8831d5394f01c4

Added to database: 08/05/2026, 18:47:03 UTC

Last enriched: 09/13/2026, 15:06:06 UTC

Last updated: 09/17/2026, 23:55:41 UTC

Views: 112

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses