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.
Published: 2026-08-05
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from libkcapi's improper IV reuse during one‑shot symmetric cipher operations that internally chunk large inputs (over 64 KiB) in stateful modes such as CTR or CBC. Because the same IV is applied to each internal block, encrypted data loses semantic uniqueness and can reveal relationships between plaintexts. This weakens confidentiality and may also jeopardize integrity by producing incorrect cryptographic results.

Affected Systems

The flaw affects Red Hat Enterprise Linux 10, 8, and 9, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4, all of which include the vulnerable libkcapi library. No specific patch levels or sub‑versions are listed; any deployment using the default library should be considered vulnerable.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. EPSS is not available, so the likelihood of public exploitation is unclear, and the issue is not yet listed in CISA’s KEV catalog. Because a remote attacker can craft a large input for an application that uses libkcapi, the vulnerability can be exploited in a remote or local context if the application accepts user data of sufficient size. The attack does not require elevated privileges in the example description, but the actual success depends on application exposure.

Generated by OpenCVE AI on August 5, 2026 at 13:21 UTC.

Remediation

Vendor 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.


OpenCVE Recommended Actions

  • Prefer the streaming interface for large messages instead of one‑shot APIs to ensure a unique IV is applied per message.
  • Keep one‑shot inputs below the internal chunking threshold of 64 KiB so the IV is consistent across the operation.
  • When available, apply the vendor‑issued patch or update libkcapi to a fixed version.

Generated by OpenCVE AI on August 5, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title Libkcapi: iv reuse in libkcapi one-shot symmetric cipher chunking causes cipher state reset across chunk boundaries
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-330
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'}


Subscriptions

Redhat Enterprise Linux Hummingbird Openshift
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-05T12:16:52.748Z

Reserved: 2026-08-05T09:15:14.859Z

Link: CVE-2026-71225

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T13:30:05Z

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values