Infinite loop Affecting smuellerDD/libkcapi package, versions [,1.5.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd 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-UNMANAGED-SMUELLERDDLIBKCAPI-18600606
  • published9 Aug 2026
  • disclosed5 Aug 2026
  • creditUnknown

Introduced: 5 Aug 2026

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

How to fix?

Upgrade smuellerDD/libkcapi to version 1.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Infinite loop in the _kcapi_aio_read_all function when an AIO-enabled handle is reused after a prior completion error. An attacker can cause the application or thread to become unresponsive by triggering a non-terminating wait loop through repeated AIO operations after an error. This is only exploitable if the application continues to reuse AIO-enabled handles following a completion error.

Workaround

This vulnerability can be mitigated by avoiding initialization of handles with KCAPI_INIT_AIO unless necessary, and by destroying and reinitializing handles after any AIO completion error instead of reusing them.

CVSS Base Scores

version 4.0
version 3.1