5.3medium
Nimiq network-libp2p: Untrusted peer can wedge DHT
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nimiq core-rs-albatross | < 1.4.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Nimiq es una implementación en Rust del protocolo Nimiq de Prueba de Participación basado en el algoritmo de consenso Albatross. network-libp2p gestiona el progreso de la consulta 'kad get-record' en handle_dht_get (network-libp2p/src/swarm.rs). Antes de la versión 1.4.0, cuando un par devuelve un FoundRecord, el código verifica el registro a través de dht_verifier.verify(&record.record). En caso de error del verificador, handle_dht_get registra y retorna anticipadamente sin completar el oneshot utilizado por Network::dht_get, y sin limpiar la contabilidad por consulta. El progreso posterior de la consulta puede alcanzar la ruta de 'estado inconsistente de DHT' y también retornar sin limpieza. Debido a que Network::dht_get espera el oneshot sin un tiempo de espera, el future del llamador puede colgarse indefinidamente. Este problema ha sido parcheado en la versión 1.4.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44505 changed 2026-06-10 | CVE Terms of Use |
| NVD | CVE-2026-44505 changed 2026-07-23 | Public domain |