Skip to main content
EPSS 0.1%top 97%

CVE-2026-71226: Use After Free in Stephan Muelle libkcapi

0
High
Published: 08/05/2026 (08/05/2026, 12:37:17 UTC)
Source: CVE Database V5
Vendor/Project: Stephan Muelle
Product: libkcapi

Description

Memory Corruption via Uncanceled AIO Requests on Error: libkcapi's one-shot AIO path can return an error before all submitted IOCBs are drained, allowing later kernel writes into caller-owned output buffers.

CVSS v3.1

Score 7.3high

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

Affected software

Stephan Muelle

libkcapi

Affected versions
>=0.12.0 <1.5.1

Red Hat

Red Hat Enterprise Linux 10

Red Hat

Red Hat Enterprise Linux 8

Red Hat

Red Hat Enterprise Linux 9

Red Hat

Red Hat Hardened Images

Red Hat

Red Hat OpenShift Container Platform 4

GitHub Actionsmore threats →cve
libkcapi
pkg:github/libkcapi
Affected versions
>=0.12.0 <1.5.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:38:39 UTC

Technical Analysis

The vulnerability in libkcapi (CVE-2026-71226) involves memory corruption via uncanceled AIO requests on error in the one-shot AIO path. When an error occurs before all IOCBs are processed, kernel writes may occur into output buffers that the application has already freed or reused, leading to use-after-free conditions. This can cause memory corruption, potential denial of service, information disclosure, or arbitrary code execution. Exploitation requires the application to use the KCAPI_INIT_AIO flag and mishandle output buffers after error returns. The flaw does not impact default synchronous configurations and requires local attacker capabilities. No official fix is currently documented in the vendor advisory, but mitigation involves avoiding the KCAPI_INIT_AIO flag or ensuring output buffers remain valid until all kernel completions finish.

Potential Impact

The vulnerability can lead to memory corruption due to use-after-free, potentially causing denial of service (crashes or restarts), information leakage, or execution of unauthorized code if exploited. The impact is limited to applications using the one-shot AIO interface with the KCAPI_INIT_AIO flag and mishandling output buffers after error returns. Default configurations are not affected. The CVSS 3.1 base score is 7.3 (high), reflecting local attack vector, low complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability.

Mitigation Recommendations

No official patch or fix is currently documented in the vendor advisory. To mitigate this vulnerability, applications should avoid initializing libkcapi handles with the KCAPI_INIT_AIO flag and prefer synchronous interfaces. If the one-shot AIO path must be used, applications must ensure that output buffers (outiov) are not freed or reused immediately after an error return, allowing all kernel completions to complete before buffer reuse or release. This operational mitigation prevents delayed kernel writes into freed or reallocated memory.

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

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-08-05T09:15:14.859Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-71226","vendor":"Red Hat"}]

Threat ID: 6a7336e3bf8831d539ed9125

Added to database: 08/05/2026, 13:13:07 UTC

Last enriched: 08/12/2026, 14:38:39 UTC

Last updated: 09/17/2026, 22:12:11 UTC

Views: 38

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