CVE-2026-44505
Received Received - Intake
DHT Query Progress Handling Flaw in Nimiq network-libp2p

Publication date: 2026-06-10

Last updated on: 2026-06-10

Assigner: GitHub, Inc.

Description
Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. network-libp2p handles kad get-record query progress in handle_dht_get (network-libp2p/src/swarm.rs). Prior to version 1.4.0, when a peer returns a FoundRecord, the code verifies the record via dht_verifier.verify(&record.record). On verifier error, handle_dht_get logs and returns early without completing the oneshot used by Network::dht_get, and without cleaning up per-query bookkeeping. Later query progress can hit the "DHT inconsistent state" path and also return without cleanup. Because Network::dht_get awaits the oneshot without a timeout, the caller future can hang indefinitely. This issue has been patched in version 1.4.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-10
Last Modified
2026-06-10
Generated
2026-06-10
AI Q&A
2026-06-10
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
nimiq network_libp2p to 1.4.0 (exc)
nimiq network_libp2p 1.4.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-755 The product does not handle or incorrectly handles an exceptional condition.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Mitigation Strategies

The primary mitigation is to upgrade the network-libp2p library to version 1.4.0 or later, where the vulnerability has been patched.

The patch includes proper handling of verification failures and inconsistent DHT query states by aborting queries and cleaning up resources, preventing indefinite hangs.

Until the upgrade can be applied, monitoring for symptoms such as hanging DHT queries and restarting affected services may help reduce impact.

Executive Summary

The vulnerability exists in the network-libp2p library used by Nimiq, specifically in the handling of Distributed Hash Table (DHT) get-record queries. When a peer returns a FoundRecord, the record is verified. If verification fails, the query process exits early without properly cleaning up the query state or resolving the oneshot channel used by Network::dht_get. This causes the caller to hang indefinitely because it waits on a response that never arrives. The root cause is improper handling of exceptional conditions during the query process.

This flaw allows an untrusted peer to cause a denial-of-service (DoS) condition by wedging the DHT, making the querying node hang indefinitely.

Impact Analysis

This vulnerability can cause a denial-of-service (DoS) condition on nodes running the affected versions of the network-libp2p library. An attacker can remotely cause the node to hang indefinitely during DHT queries, impacting availability.

  • No privileges or user interaction are required to exploit this vulnerability.
  • The impact is limited to availability; confidentiality and integrity are not affected.
Detection Guidance

This vulnerability causes the Network::dht_get caller future to hang indefinitely due to unresolved oneshot channels when a peer returns a FoundRecord that fails verification. Detection involves monitoring for hanging or stalled DHT GetRecord queries in the network-libp2p component of Nimiq.

Since the issue manifests as hanging asynchronous queries without timeout, you can detect it by observing processes or services that use network-libp2p for unusually long or stuck DHT queries.

Specific commands are not provided in the available resources, but general approaches include:

  • Monitoring logs for repeated errors or warnings related to DHT query verification failures or inconsistent states.
  • Using system tools like `strace` or `lsof` to detect processes stuck waiting on network-libp2p DHT queries.
  • Checking for hanging futures or goroutines (if applicable) in the application logs or debugging output.
Compliance Impact

The vulnerability causes a denial-of-service (DoS) condition by causing the Distributed Hash Table (DHT) query process to hang indefinitely, impacting availability but not confidentiality or integrity.

Since the vulnerability does not affect confidentiality or integrity of data, it does not directly impact compliance with data protection regulations such as GDPR or HIPAA, which primarily focus on protecting personal data privacy and integrity.

However, the availability impact could be relevant under standards that require system availability and resilience, but no specific compliance implications are detailed in the provided information.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-44505. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart