CVE-2026-71225Libkcapi: iv reuse in libkcapi one-shot symmetric cipher chunking causes cipher state…
A flaw was found in libkcapi. When performing one-shot symmetric cipher operations on large inputs (over 64 KiB) in stateful modes such as Counter (CTR) or Cipher Block Chaining (CBC), the library improperly reuses the Initialization Vector (IV) for each internal data chunk. A remote attacker could potentially exploit this by making an application that uses libkcapi process specially crafted large inputs. This can lead to a significant weakening of data confidentiality, as the repeated IV use can expose relationships in encrypted plaintext, and may also affect data integrity by causing incorrect cryptographic processing.
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-71225 | |
| Ubuntu 26.04 | libkcapi | Under investigation | UBUNTU-CVE-2026-71225 | |
| Ubuntu 24.04 | libkcapi | Under investigation | UBUNTU-CVE-2026-71225 | |
| Ubuntu 22.04 | libkcapi | Under investigation | UBUNTU-CVE-2026-71225 | |
| Ubuntu 20.04 | libkcapi | Fix pending | UBUNTU-CVE-2026-71225 | |
| Ubuntu 18.04 | libkcapi | Fix pending | UBUNTU-CVE-2026-71225 | |
| Debian 14 | libkcapi | Fixed | 1.5.1-1 | DEBIAN-CVE-2026-71225 |
| Debian 13 | libkcapi | Fix pending | DEBIAN-CVE-2026-71225 | |
| Debian 12 | libkcapi | Fix pending | DEBIAN-CVE-2026-71225 | |
| 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-71225 |
| Alpine Linux 3.23 | libkcapi | Fixed | 1.5.1-r0 | ALPINE-CVE-2026-71225 |
| Alpine Linux 3.22 | libkcapi | Fixed | 1.5.1-r0 | ALPINE-CVE-2026-71225 |
| Alpine Linux 3.21 | libkcapi | Fixed | 1.5.1-r0 | ALPINE-CVE-2026-71225 |
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.10.1 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 using `libkcapi` should avoid the one-shot symmetric cipher APIs for inputs exceeding 64 KiB when continuous-message semantics are critical. Instead, prefer the streaming interface for processing large messages, or ensure one-shot inputs remain below the internal chunking threshold to guarantee the IV is applied consistently throughout the operation.
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-71225
- https://bugzilla.redhat.com/show_bug.cgi?id=2462011
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.