CVEfocus › CVE database › CVE-2026-71227

CVE-2026-71227Libkcapi: infinite loop denial of service in libkcapi _kcapi_aio_read_all() due to…

CVSS 5.1 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-08-05Updated 2026-11-02Assigner: redhat

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.

CWE-835

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
5Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libkcapiFix pendingUBUNTU-CVE-2026-71227
Ubuntu 26.04libkcapiUnder investigationUBUNTU-CVE-2026-71227
Ubuntu 24.04libkcapiUnder investigationUBUNTU-CVE-2026-71227
Ubuntu 22.04libkcapiUnder investigationUBUNTU-CVE-2026-71227
Ubuntu 20.04libkcapiFix pendingUBUNTU-CVE-2026-71227
Ubuntu 18.04libkcapiFix pendingUBUNTU-CVE-2026-71227
Debian 14libkcapiFixed1.5.1-1DEBIAN-CVE-2026-71227
Debian 13libkcapiFix pendingDEBIAN-CVE-2026-71227
Debian 12libkcapiFix pendingDEBIAN-CVE-2026-71227
Red Hat Enterprise Linux 10libkcapiFixed0:1.5.1-1.el10_2RHSA-2026:67267
Red Hat Enterprise Linux 10libkcapi-hasherFixed0:1.5.1-1.el10_2RHSA-2026:67267
Red Hat Enterprise Linux 10libkcapi-hmaccalcFixed0:1.5.1-1.el10_2RHSA-2026:67267
Red Hat Enterprise Linux 9libkcapiFixed0:1.4.0-3.el9_8RHSA-2026:67265
Red Hat Enterprise Linux 9libkcapi-hmaccalcFixed0:1.4.0-3.el9_8RHSA-2026:67265
Red Hat Enterprise Linux 8libkcapiFixed0:1.4.0-3.el8_10RHSA-2026:67266
Red Hat Enterprise Linux 8libkcapi-hmaccalcFixed0:1.4.0-3.el8_10RHSA-2026:67266
AlmaLinux 10libkcapiFixed1.5.1-1.el10_2ALSA-2026:67267
AlmaLinux 10libkcapi-hasherFixed1.5.1-1.el10_2ALSA-2026:67267
AlmaLinux 10libkcapi-hmaccalcFixed1.5.1-1.el10_2ALSA-2026:67267
AlmaLinux 9libkcapiFixed1.4.0-3.el9_8ALSA-2026:67265
AlmaLinux 9libkcapi-hmaccalcFixed1.4.0-3.el9_8ALSA-2026:67265
AlmaLinux 8libkcapiFixed1.4.0-3.el8_10ALSA-2026:67266
AlmaLinux 8libkcapi-hmaccalcFixed1.4.0-3.el8_10ALSA-2026:67266
Rocky Linux 10libkcapiFixed0:1.5.1-1.el10_2RLSA-2026:67267
Rocky Linux 9libkcapiFixed0:1.4.0-3.el9_8RLSA-2026:67265
Rocky Linux 8libkcapiFixed0:1.4.0-3.el8_10RLSA-2026:67266
Alpine Linux 3.24libkcapiFixed1.5.1-r0ALPINE-CVE-2026-71227
Alpine Linux 3.23libkcapiFixed1.5.1-r0ALPINE-CVE-2026-71227
Alpine Linux 3.22libkcapiFixed1.5.1-r0ALPINE-CVE-2026-71227
Alpine Linux 3.21libkcapiFixed1.5.1-r0ALPINE-CVE-2026-71227

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To mitigate this issue, 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, rather than reusing them for subsequent AIO operations.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.