CVEfocus › CVE database › CVE-2026-71225

CVE-2026-71225Libkcapi: iv reuse in libkcapi one-shot symmetric cipher chunking causes cipher state…

CVSS 6.5 MediumEPSS 0.4% (higher than 27% of CVEs)Published 2026-08-05Updated 2026-11-02Assigner: redhat

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.

CWE-330

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-71225
Ubuntu 26.04libkcapiUnder investigationUBUNTU-CVE-2026-71225
Ubuntu 24.04libkcapiUnder investigationUBUNTU-CVE-2026-71225
Ubuntu 22.04libkcapiUnder investigationUBUNTU-CVE-2026-71225
Ubuntu 20.04libkcapiFix pendingUBUNTU-CVE-2026-71225
Ubuntu 18.04libkcapiFix pendingUBUNTU-CVE-2026-71225
Debian 14libkcapiFixed1.5.1-1DEBIAN-CVE-2026-71225
Debian 13libkcapiFix pendingDEBIAN-CVE-2026-71225
Debian 12libkcapiFix pendingDEBIAN-CVE-2026-71225
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-71225
Alpine Linux 3.23libkcapiFixed1.5.1-r0ALPINE-CVE-2026-71225
Alpine Linux 3.22libkcapiFixed1.5.1-r0ALPINE-CVE-2026-71225
Alpine Linux 3.21libkcapiFixed1.5.1-r0ALPINE-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.

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:

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.