Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libkcapi-hmaccalc package, versions <0:1.4.0-3.el9_8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-LIBKCAPIHMACCALC-19969990
  • published20 Sept 2026
  • disclosed5 Aug 2026

Introduced: 5 Aug 2026

CVE-2026-71227  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade RHEL:9 libkcapi-hmaccalc to version 0:1.4.0-3.el9_8 or higher.
This issue was patched in RHSA-2026:67265.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libkcapi-hmaccalc package and not the libkcapi-hmaccalc package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1