Skip to content

CVE-2026-71225 Libkcapi: iv reuse in libkcapi one-shot symmetric cipher chunking causes cipher state reset across chunk boundaries

MediumCVSS 6.5 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

31 packages: 19 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
debian/libkcapi(Debian 12) = 1.4.0-1; = 1.4.0-2; = 1.5.1-1; = 1.5.1-2 +1 more No fix listed No fix yet
debian/libkcapi(Debian 13) = 1.4.0-1; = 1.4.0-2; = 1.5.1-1; = 1.5.1-2 +1 more No fix listed No fix yet
redhat hardened images All versions No fix listed No fix yet
redhat openshift All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) All versions No fix listed No fix yet
ubuntu/libkcapi(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libkcapi(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libkcapi(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libkcapi(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/libkcapi(Alpine v3.21) >= 0.10.1, < 1.5.1-r0 1.5.1-r0 Fixed
alpine/libkcapi(Alpine v3.22) >= 0.10.1, < 1.5.1-r0 1.5.1-r0 Fixed
alpine/libkcapi(Alpine v3.23) >= 0.10.1, < 1.5.1-r0 1.5.1-r0 Fixed
alpine/libkcapi(Alpine v3.24) >= 0.10.1, < 1.5.1-r0 1.5.1-r0 Fixed
azure linux libkcapi(Azure Linux 3.0) < 1.5.1-1 1.5.1-1 Fixed
azure linux libkcapi(Azure Linux 4.0) < 0:1.5.1-1.azl4 0:1.5.1-1.azl4 Fixed
debian/libkcapi(Debian 14) < 1.5.1-1; = 1.4.0-1; = 1.4.0-2 1.5.1-1 Fixed
redhat enterprise linux < 0:1.4.0-3.el8_10; < 0:1.4.0-3.el9_8; < 0:1.5.1-1.el10_2; = 8.0 +2 more 0:1.4.0-3.el8_10, 0:1.4.0-3.el9_8, 0:1.5.1-1.el10_2 Fixed
redhat enterprise linux eus < 0:1.5.0-6.el10_0 0:1.5.0-6.el10_0 Fixed
redhat hummingbird < 1.5.1-0.1.hum1 1.5.1-0.1.hum1 Fixed
redhat rhel eus < 0:1.4.0-2.el9_6.1 0:1.4.0-2.el9_6.1 Fixed
redhat/libkcapi(Red Hat enterprise_linux 10.2) < 1.5.1-1.el10_2 1.5.1-1.el10_2 Fixed
redhat/libkcapi(Red Hat enterprise_linux 8) < 1.4.0-3.el8_10 1.4.0-3.el8_10 Fixed
redhat/libkcapi(Red Hat enterprise_linux 9) < 1.4.0-3.el9_8 1.4.0-3.el9_8 Fixed
redhat/libkcapi(Red Hat enterprise_linux_eus 10.0) < 1.5.0-6.el10_0 1.5.0-6.el10_0 Fixed
redhat/libkcapi(Red Hat rhel_eus 9.6) < 1.4.0-2.el9_6.1 1.4.0-2.el9_6.1 Fixed
redhat/libkcapi-main(Red Hat hummingbird 1) < 1.5.1-0.1.hum1 1.5.1-0.1.hum1 Fixed
smuellerDD libkcapi >= 0.10.1, < 1.5.1 1.5.1 Fixed
Stephan Muelle libkcapi >= 0.10.1, < 1.5.1 1.5.1 Fixed

… and 1 more package.

Affected products

ProductAffected versionsFixed in
Stephan Muelle libkcapi >= 0.10.1, < 1.5.1 1.5.1
redhat enterprise linux < 0:1.5.1-1.el10_2 0:1.5.1-1.el10_2
redhat enterprise linux eus < 0:1.5.0-6.el10_0 0:1.5.0-6.el10_0
redhat enterprise linux < 0:1.4.0-3.el8_10 0:1.4.0-3.el8_10
redhat enterprise linux < 0:1.4.0-3.el9_8 0:1.4.0-3.el9_8
redhat rhel eus < 0:1.4.0-2.el9_6.1 0:1.4.0-2.el9_6.1
redhat hummingbird < 1.5.1-0.1.hum1 1.5.1-0.1.hum1
redhat openshift All versions No fix listed
redhat/libkcapi(Red Hat:enterprise_linux:10.2) < 1.5.1-1.el10_2 1.5.1-1.el10_2
redhat/libkcapi(Red Hat:enterprise_linux_eus:10.0) < 1.5.0-6.el10_0 1.5.0-6.el10_0
redhat/libkcapi(Red Hat:enterprise_linux:8) < 1.4.0-3.el8_10 1.4.0-3.el8_10
redhat/libkcapi(Red Hat:enterprise_linux:9) < 1.4.0-3.el9_8 1.4.0-3.el9_8
redhat/libkcapi(Red Hat:rhel_eus:9.6) < 1.4.0-2.el9_6.1 1.4.0-2.el9_6.1
redhat/libkcapi-main(Red Hat:hummingbird:1) < 1.5.1-0.1.hum1 1.5.1-0.1.hum1
redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) All versions No fix listed
debian/libkcapi(Debian:12) All versions No fix listed
debian/libkcapi(Debian:12) = 1.4.0-1 No fix listed
debian/libkcapi(Debian:12) = 1.4.0-2 No fix listed
debian/libkcapi(Debian:12) = 1.5.1-1 No fix listed
debian/libkcapi(Debian:12) = 1.5.1-2 No fix listed
debian/libkcapi(Debian:13) All versions No fix listed
debian/libkcapi(Debian:13) = 1.4.0-1 No fix listed
debian/libkcapi(Debian:13) = 1.4.0-2 No fix listed
Show 21 more
ProductAffected versionsFixed in
debian/libkcapi(Debian:13) = 1.5.1-1 No fix listed
debian/libkcapi(Debian:13) = 1.5.1-2 No fix listed
debian/libkcapi(Debian:14) < 1.5.1-1 1.5.1-1
debian/libkcapi(Debian:14) = 1.4.0-1 No fix listed
debian/libkcapi(Debian:14) = 1.4.0-2 No fix listed
ubuntu/libkcapi(Ubuntu:22.04) All versions No fix listed
alpine/libkcapi(Alpine:v3.21) >= 0.10.1, < 1.5.1-r0 1.5.1-r0
alpine/libkcapi(Alpine:v3.22) >= 0.10.1, < 1.5.1-r0 1.5.1-r0
alpine/libkcapi(Alpine:v3.23) >= 0.10.1, < 1.5.1-r0 1.5.1-r0
alpine/libkcapi(Alpine:v3.24) >= 0.10.1, < 1.5.1-r0 1.5.1-r0
ubuntu/libkcapi(Ubuntu:24.04) All versions No fix listed
ubuntu/libkcapi(Ubuntu:26.04) All versions No fix listed
ubuntu/libkcapi(Ubuntu:26.10) All versions No fix listed
redhat hardened images All versions No fix listed
redhat openshift container platform = 4.0 No fix listed
smuellerDD libkcapi >= 0.10.1, < 1.5.1 1.5.1
redhat enterprise linux = 8.0 No fix listed
redhat enterprise linux = 9.0 No fix listed
redhat enterprise linux = 10.0 No fix listed
azure linux libkcapi(Azure Linux:3.0) < 1.5.1-1 1.5.1-1
azure linux libkcapi(Azure Linux:4.0) < 0:1.5.1-1.azl4 0:1.5.1-1.azl4

References