Skip to content
High 7.5

Vulnerability in libp2p-rendezvous

CVE-2026-35405 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

A vulnerability tracked as CVE-2026-35405 has been found in libp2p-rendezvous.
Attackers can target a specific entry point like registrations_for_peer over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade libp2p-rendezvous to 0.17.1 or later.
If unsure, ask your IT team or search "libp2p-rendezvous CVE-2026-35405" on the vendor's site.

CVE-2026-35405 (libp2p-rendezvous) — CWE-770
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: registrations_for_peer / registrations / next_expiry / max_registrations_per_peer
Patched: 0.17.1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (CWE-770) exists in libp2p-rendezvous. Attackers reach the vulnerable code path via registrations_for_peer without authentication.

Affected scope

Check the vendor advisory for the affected versions of libp2p-rendezvous. Attack surface: registrations_for_peer / registrations / next_expiry / max_registrations_per_peer.

Severity

Severity: ?. Risk of unauthorized operations or information disclosure.

How to fix

Update to 0.17.1.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'libp2p-rendezvous' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'libp2p-rendezvous' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で libp2p-rendezvous を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade libp2p-rendezvous to 0.17.1

    ステージング環境で 0.17.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
rustlibp2p-rendezvous
< 0.17.1→ 0.17.1
crates.iolibp2p-rendezvous
< 0.17.1→ 0.17.1
Original description The description as published by the source.

Summary

found that libp2p-rendezvous server has no limit on how many namespaces a single peer can register. a malicious peer can just keep registering unique namespaces in a loop and the server happily accepts every single one allocating memory for each registration with no pushback. keep doing this long enough (or with multiple sybil peers) and the server process gets OOM killed.

no auth required. any peer on the network can do this.

Details

the bug is in Registrations::add() inside protocols/rendezvous/src/server.rs.

the store uses a BiMap keyed on (PeerId, Namespace) so yes, a peer can't register the same namespace twice. but there's nothing stopping it from registering 10,000 different namespaces. each unique one gets its own entry in:

  • registrations_for_peer (BiMap)
  • registrations (HashMap)
  • next_expiry (FuturesUnordered a new heap-allocated BoxFuture per registration)

namespace strings are only validated for length (MAX_NAMESPACE = 255), not count. there's no max_registrations_per_peer anywhere in Config or the rest of the codebase.

making it worse MAX_TTL = 72 hours. so every registration just sits there for up to 3 days. disconnecting doesn't clean anything up either, entries only go away when the TTL fires.

protocols/rendezvous/src/server.rs
  └── Registrations::add()   ← no per-peer count check anywhere

protocols/rendezvous/src/lib.rs
  ├── MAX_NAMESPACE = 255    ← length capped, count is not
  └── MAX_TTL = 72h…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details