CVE-2026-71227Libkcapi: infinite loop denial of service in libkcapi _kcapi_aio_read_all() due to…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libkcapi | Fix pending | UBUNTU-CVE-2026-71227 | |
| Ubuntu 26.04 | libkcapi | Under investigation | UBUNTU-CVE-2026-71227 | |
| Ubuntu 24.04 | libkcapi | Under investigation | UBUNTU-CVE-2026-71227 | |
| Ubuntu 22.04 | libkcapi | Under investigation | UBUNTU-CVE-2026-71227 | |
| Ubuntu 20.04 | libkcapi | Fix pending | UBUNTU-CVE-2026-71227 | |
| Ubuntu 18.04 | libkcapi | Fix pending | UBUNTU-CVE-2026-71227 | |
| Debian 14 | libkcapi | Fixed | 1.5.1-1 | DEBIAN-CVE-2026-71227 |
| Debian 13 | libkcapi | Fix pending | DEBIAN-CVE-2026-71227 | |
| Debian 12 | libkcapi | Fix pending | DEBIAN-CVE-2026-71227 | |
| Red Hat Enterprise Linux 10 | libkcapi | Fixed | 0:1.5.1-1.el10_2 | RHSA-2026:67267 |
| Red Hat Enterprise Linux 10 | libkcapi-hasher | Fixed | 0:1.5.1-1.el10_2 | RHSA-2026:67267 |
| Red Hat Enterprise Linux 10 | libkcapi-hmaccalc | Fixed | 0:1.5.1-1.el10_2 | RHSA-2026:67267 |
| Red Hat Enterprise Linux 9 | libkcapi | Fixed | 0:1.4.0-3.el9_8 | RHSA-2026:67265 |
| Red Hat Enterprise Linux 9 | libkcapi-hmaccalc | Fixed | 0:1.4.0-3.el9_8 | RHSA-2026:67265 |
| Red Hat Enterprise Linux 8 | libkcapi | Fixed | 0:1.4.0-3.el8_10 | RHSA-2026:67266 |
| Red Hat Enterprise Linux 8 | libkcapi-hmaccalc | Fixed | 0:1.4.0-3.el8_10 | RHSA-2026:67266 |
| AlmaLinux 10 | libkcapi | Fixed | 1.5.1-1.el10_2 | ALSA-2026:67267 |
| AlmaLinux 10 | libkcapi-hasher | Fixed | 1.5.1-1.el10_2 | ALSA-2026:67267 |
| AlmaLinux 10 | libkcapi-hmaccalc | Fixed | 1.5.1-1.el10_2 | ALSA-2026:67267 |
| AlmaLinux 9 | libkcapi | Fixed | 1.4.0-3.el9_8 | ALSA-2026:67265 |
| AlmaLinux 9 | libkcapi-hmaccalc | Fixed | 1.4.0-3.el9_8 | ALSA-2026:67265 |
| AlmaLinux 8 | libkcapi | Fixed | 1.4.0-3.el8_10 | ALSA-2026:67266 |
| AlmaLinux 8 | libkcapi-hmaccalc | Fixed | 1.4.0-3.el8_10 | ALSA-2026:67266 |
| Rocky Linux 10 | libkcapi | Fixed | 0:1.5.1-1.el10_2 | RLSA-2026:67267 |
| Rocky Linux 9 | libkcapi | Fixed | 0:1.4.0-3.el9_8 | RLSA-2026:67265 |
| Rocky Linux 8 | libkcapi | Fixed | 0:1.4.0-3.el8_10 | RLSA-2026:67266 |
| Alpine Linux 3.24 | libkcapi | Fixed | 1.5.1-r0 | ALPINE-CVE-2026-71227 |
| Alpine Linux 3.23 | libkcapi | Fixed | 1.5.1-r0 | ALPINE-CVE-2026-71227 |
| Alpine Linux 3.22 | libkcapi | Fixed | 1.5.1-r0 | ALPINE-CVE-2026-71227 |
| Alpine Linux 3.21 | libkcapi | Fixed | 1.5.1-r0 | ALPINE-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.
- Stephan Muelle libkcapi: affected: 0.12.0 to before 1.5.1; fixed in
1.5.1 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.6 Extended Update Support
- Red Hat Hardened Images
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
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:
- https://access.redhat.com/errata/RHSA-2026:56985 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:67265 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:67266 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:67267 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:69285 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:87712 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:56985
- https://access.redhat.com/errata/RHSA-2026:67265
- https://access.redhat.com/errata/RHSA-2026:67266
- https://access.redhat.com/errata/RHSA-2026:67267
- https://access.redhat.com/errata/RHSA-2026:69285
- https://access.redhat.com/errata/RHSA-2026:87712
- https://access.redhat.com/security/cve/CVE-2026-71227
- https://bugzilla.redhat.com/show_bug.cgi?id=2462867
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.