Skip to main content

Uncontrolled Resource Consumption

CVE-2026-52879

Severity High
Score 7.5/10

Summary

`networkMessenger.directMessageHandler` in `network/p2p/libp2p/netMessenger.go` spawns a fresh goroutine for every incoming direct message before the antiflood layer makes an admission decision. There is no semaphore, throttler, or bound on concurrent in-flight spawns. A single connected libp2p peer can open a 'DirectSendID' stream and send well-formed 'TopicMessage' envelopes with varying sequence numbers. Each accepted direct message reaches 'directMessageHandler' and triggers a fresh goroutine before 'processor.ProcessReceivedMessage' runs. This allows unbounded goroutine growth and node availability degradation from one peer. This is distinct from 'GHSA-74m6-4hjp-7226' and 'GHSA-87m7-qffr-542v'. Those advisories concern 'MultiDataInterceptor' decompression/throttler behavior. This report concerns the libp2p direct-message ingress wrapper spawning an unbounded goroutine before processor-level antiflood/admission logic runs. A patch to 'Batch.Decompress' or 'MultiDataInterceptor' does not bound this direct-message goroutine spawn. This issue affects Klever versions from 1.7.14 prior to 1.7.18.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published