Advisory

RUSTSEC-2026-0527

Also known as: CVE-2026-35457, GHSA-v5hw-cv9c-rpg7

Summary

Rendezvous server stored an unlimited number of DISCOVER cookies

Details

Each DISCOVER request to a rendezvous server creates a pagination cookie, which the server kept in a map together with the registrations already returned for it. Entries were never evicted or capped, so an unauthenticated peer sending ordinary DISCOVER requests can make the server's memory grow without bound.

The fix keeps cookies in a fixed-size LRU cache (10,000 entries by default, configurable through Config). It is in 0.17.1.

Severity

High Basis: CVSS v3 score 8.2, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Dates

Published
2026-04-02 12:00 UTC
Modified
2026-11-13 12:45 UTC

Affected packages and fixes

libp2p-rendezvous

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.17.1 (semver)

Fixed versions

0.17.1

Fix

  • Fixed version 0.17.1
    cargo update -p libp2p-rendezvous --precise 0.17.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences